{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from euler49 import is_prime"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from itertools import combinations"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from collections import Counter"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "num = 101\n",
    "primes = []\n",
    "all_digits = ['0','1','2','3','4','5','6','7','8','9']\n",
    "while True:\n",
    "    if num in primes or is_prime(num):\n",
    "        num_str = str(num)\n",
    "        digits_number = Counter(num_str[:-1])\n",
    "        #末尾的数字中不用进行替换，因为质数个数不可能超过4个\n",
    "        for digit,number in digits_number.items():\n",
    "            for tmp in range(number,0,-1):\n",
    "                if tmp == number:\n",
    "                    if digit == num_str[0]:\n",
    "                        all_digit = all_digits[1:] \n",
    "                    else:\n",
    "                        all_digit = all_digits.copy()\n",
    "                    for ad in all_digit:\n",
    "                        \n",
    "                else:\n",
    "                    \n",
    "    else:\n",
    "        num += 2\n",
    "        continue"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2,2\n",
      "0,1\n",
      "1,2\n",
      "3,3\n"
     ]
    }
   ],
   "source": [
    "a = Counter(str(123321306))\n",
    "a.items()\n",
    "for a,b in Counter(str(123321306)[:-1]).items():\n",
    "    print('%s,%s' % (a,b))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "aa = list(range(10,0,-1))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[10, 9, 8, 7, 6, 5, 4, 3, 2, 1]"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "aa.copy()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from scipy.special import comb"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "4950.0"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "comb(100,2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "161700.0"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "comb(100,3)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "x = list(range(1,101))\n",
    "y = []\n",
    "for i in range(1,101):\n",
    "    y.append(comb(100,i))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[100.0,\n",
       " 4950.0,\n",
       " 161700.0,\n",
       " 3921225.0,\n",
       " 75287520.0,\n",
       " 1192052400.0,\n",
       " 16007560800.0,\n",
       " 186087894300.0,\n",
       " 1902231808400.0,\n",
       " 17310309456440.0,\n",
       " 141629804643600.0,\n",
       " 1050421051106700.0,\n",
       " 7110542499799200.0,\n",
       " 44186942677323608.0,\n",
       " 2.5333847134998861e+17,\n",
       " 1.3458606290468147e+18,\n",
       " 6.6501348729372006e+18,\n",
       " 3.0664510802988208e+19,\n",
       " 1.3234157293921229e+20,\n",
       " 5.3598337040380959e+20,\n",
       " 2.0418414110621313e+21,\n",
       " 7.3320668851776552e+21,\n",
       " 2.4865270306254652e+22,\n",
       " 7.9776075565900367e+22,\n",
       " 2.4251926972033712e+23,\n",
       " 6.9957481650097207e+23,\n",
       " 1.9173532007804428e+24,\n",
       " 4.9988137020347255e+24,\n",
       " 1.2410847811948284e+25,\n",
       " 2.9372339821610938e+25,\n",
       " 6.632463830686342e+25,\n",
       " 1.430125013491742e+26,\n",
       " 2.9469242702254086e+26,\n",
       " 5.8071742972088923e+26,\n",
       " 1.0950671531879625e+27,\n",
       " 1.9772045821449332e+27,\n",
       " 3.4200295474939365e+27,\n",
       " 5.6700489866346863e+27,\n",
       " 9.0139240300346286e+27,\n",
       " 1.3746234145802806e+28,\n",
       " 2.0116440213369955e+28,\n",
       " 2.8258808871162561e+28,\n",
       " 3.811653289598673e+28,\n",
       " 4.9378235797073706e+28,\n",
       " 6.1448471214136155e+28,\n",
       " 7.3470998190814984e+28,\n",
       " 8.4413487283064041e+28,\n",
       " 9.3206558875049862e+28,\n",
       " 9.8913082887808022e+28,\n",
       " 1.0089134454556415e+29,\n",
       " 9.8913082887808022e+28,\n",
       " 9.3206558875049862e+28,\n",
       " 8.4413487283064041e+28,\n",
       " 7.3470998190814984e+28,\n",
       " 6.1448471214136155e+28,\n",
       " 4.9378235797073706e+28,\n",
       " 3.811653289598673e+28,\n",
       " 2.8258808871162561e+28,\n",
       " 2.0116440213369955e+28,\n",
       " 1.3746234145802806e+28,\n",
       " 9.0139240300346286e+27,\n",
       " 5.6700489866346863e+27,\n",
       " 3.4200295474939365e+27,\n",
       " 1.9772045821449332e+27,\n",
       " 1.0950671531879625e+27,\n",
       " 5.8071742972088923e+26,\n",
       " 2.9469242702254086e+26,\n",
       " 1.430125013491742e+26,\n",
       " 6.632463830686342e+25,\n",
       " 2.9372339821610938e+25,\n",
       " 1.2410847811948284e+25,\n",
       " 4.9988137020347255e+24,\n",
       " 1.9173532007804428e+24,\n",
       " 6.9957481650097207e+23,\n",
       " 2.4251926972033712e+23,\n",
       " 7.9776075565900367e+22,\n",
       " 2.4865270306254652e+22,\n",
       " 7.3320668851776552e+21,\n",
       " 2.0418414110621313e+21,\n",
       " 5.3598337040380959e+20,\n",
       " 1.3234157293921229e+20,\n",
       " 3.0664510802988208e+19,\n",
       " 6.6501348729372006e+18,\n",
       " 1.3458606290468147e+18,\n",
       " 2.5333847134998861e+17,\n",
       " 44186942677323608.0,\n",
       " 7110542499799200.0,\n",
       " 1050421051106700.0,\n",
       " 141629804643600.0,\n",
       " 17310309456440.0,\n",
       " 1902231808400.0,\n",
       " 186087894300.0,\n",
       " 16007560800.0,\n",
       " 1192052400.0,\n",
       " 75287520.0,\n",
       " 3921225.0,\n",
       " 161700.0,\n",
       " 4950.0,\n",
       " 100.0,\n",
       " 1.0]"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "y"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "1.0089134454556415e+29"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "comb(100,50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "z = []\n",
    "for i in x:\n",
    "    z.append(comb(99,i))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[<matplotlib.lines.Line2D at 0x518ee83908>]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAgAAAAFsCAYAAAC6pgFGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAAPYQAAD2EBqD+naQAAIABJREFUeJzt3X90VOd95/H3d0C2QYzBtWPjCGzJDmCZ4DQoST3Bxm6i\nCG2zArKkSRR32z05TpsfqlxsmjoHtiJZSJMNhqqJnE2zbdrGibqpWQdoAkSNE1PLiryWUv/AssA2\n8g9+GNs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rbG07yHgPDO78CzrnFNOAkDiG1IP8OHk\nssRh6g/jnV+SLEjs/JcBv+ucez71PufcPrxfhNT34EK8UQN6DzL3b8ACvG9D70ncHgHuAd7jnHsW\ntXcudHLmacN5wHOg3/McmYr3BS5VnMT+Qm2eW2Ns3x7g1Ih15uEF466xPlcuTwHookE5ZGZ3A43A\nUmDIzJJpcdA5l7z08l8Da8zsabxLMv8PvJEYW/JcbuA554bwDoe+xcyGgFedc8lvqGrv7NsEdJrZ\nl4Ef4/0RvBX4bMo6avfs2obXni8Cu4GFeH+//3fKOmrzCTCzcuBdeN/0Aa5KdLY84px7gXO0r3Pu\nmJn9HbDRzF4DosDfAJ3OuYfHXEiOhzd8IVH863ip5H1+D7kolhteIj+d5vaHI9Zbizek5ATeNaXf\n5XftxXID7idlGKDaO2ft/HvAY4k23Q18Js06avfstXc53he4fXjjz/cCXwEmq82z1sY3jfI3/O/H\n2r7A+XhzwbySCAD/AlyaSR26GJCIiEgJ0rUARERESpACgIiISAlSABARESlBCgAiIiIlSAFARESk\nBCkAiIiIlCAFABERkRKkACAiIlKCFABERERKkAKAiIhICVIAEBERKUH/H2FjInZtsb4bAAAAAElF\nTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x518e9a37b8>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.plot(x,z,'o-')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "True"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "comb(40,20)<comb(70,20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import matplotlib.pylab as plt\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "100 loops, best of 3: 13.4 ms per loop\n"
     ]
    }
   ],
   "source": [
    "%%timeit\n",
    "from scipy.special import comb\n",
    "low = 0\n",
    "nums = 0\n",
    "limit = 1000000\n",
    "for i in range(100,1,-1):\n",
    "    st = int(i/2)\n",
    "    if st<low:\n",
    "        print(nums)\n",
    "        break\n",
    "    for j in range(st,low,-1):\n",
    "        if comb(i,j)>limit:\n",
    "            if j==i-j:\n",
    "                nums += 1\n",
    "            else:\n",
    "                nums += 2\n",
    "        else:\n",
    "            low = j\n",
    "            break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "4075\n",
      "100 loops, best of 3: 2.11 ms per loop\n"
     ]
    }
   ],
   "source": [
    "%%timeit\n",
    "comb_dic = {}\n",
    "mul = 1\n",
    "for i in range(1,101):\n",
    "    mul *= i\n",
    "    comb_dic.setdefault(i,mul)\n",
    "\n",
    "def mycomb(n,r):\n",
    "    '''计算100以内的组合数'''\n",
    "    return int(comb_dic[n]/(comb_dic[r]*comb_dic[n-r]))\n",
    "\n",
    "low = 0\n",
    "nums = 0\n",
    "limit = 1000000\n",
    "for i in range(100,1,-1):\n",
    "    st = int(i/2)\n",
    "    if st<low:\n",
    "        print(nums)\n",
    "        break\n",
    "    for j in range(st,low,-1):\n",
    "        if mycomb(i,j)>limit:\n",
    "            if j==i-j:\n",
    "                nums += 1\n",
    "            else:\n",
    "                nums += 2\n",
    "        else:\n",
    "            low = j\n",
    "            break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Wall time: 0 ns\n"
     ]
    }
   ],
   "source": [
    "%time\n",
    "comb_dic = {}\n",
    "mul = 1\n",
    "for i in range(1,101):\n",
    "    mul *= i\n",
    "    comb_dic.setdefault(i,mul)\n",
    "\n",
    "def mycomb(n,r):\n",
    "    '''计算100以内的组合数'''\n",
    "    return int(comb_dic[n]/(comb_dic[r]*comb_dic[n-r]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "10000 loops, best of 3: 20.4 µs per loop\n"
     ]
    }
   ],
   "source": [
    "%%timeit\n",
    "comb_dic = {}\n",
    "mul = 1\n",
    "for i in range(1,101):\n",
    "    mul *= i\n",
    "    comb_dic.setdefault(i,mul)\n",
    "    \n",
    "def mycomb(n,r):\n",
    "    '''计算100以内的组合数'''\n",
    "    return int(comb_dic[n]/(comb_dic[r]*comb_dic[n-r]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The slowest run took 8.24 times longer than the fastest. This could mean that an intermediate result is being cached.\n",
      "100000 loops, best of 3: 5.5 µs per loop\n"
     ]
    }
   ],
   "source": [
    "%%timeit\n",
    "comb(100,50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [],
   "source": [
    "for i in range(2,2):\n",
    "    print(i)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['AH', 'BC', 'CE', 'DE', 'FE', 'AJ', 'AA']"
      ]
     },
     "execution_count": 52,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "a = ['AH','BC','DE','FE','CE']\n",
    "a.sort()\n",
    "a.append('AJ')\n",
    "a.append('AA')\n",
    "a"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "a.sort()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [],
   "source": [
    "a = ['TC','3D','8C','3H','6C']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "a.sort()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 73,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['8C', 'TS', 'KC', '9H', '4S', '7D', '2S', '5D', '3S', 'AC']\n",
      "['5C', 'AD', '5D', 'AC', '9C', '7C', '5H', '8D', 'TD', 'KS']\n",
      "['3H', '7H', '6S', 'KC', 'JS', 'QH', 'TD', 'JC', '2D', '8S']\n",
      "['TH', '8H', '5C', 'QS', 'TC', '9H', '4D', 'JC', 'KS', 'JS']\n",
      "['7C', '5H', 'KC', 'QH', 'JD', 'AS', 'KH', '4C', 'AD', '4S']\n",
      "['5H', 'KS', '9C', '7D', '9H', '8D', '3S', '5D', '5C', 'AH']\n",
      "['6H', '4H', '5C', '3H', '2H', '3S', 'QH', '5S', '6S', 'AS']\n",
      "['TD', '8C', '4H', '7C', 'TC', 'KC', '4C', '3H', '7S', 'KS']\n",
      "['7C', '9C', '6D', 'KD', '3H', '4C', 'QS', 'QC', 'AC', 'KH']\n",
      "['JC', '6S', '5H', '2H', '2D', 'KD', '9D', '7C', 'AS', 'JS']\n",
      "['AD', 'QH', 'TH', '9D', '8H', 'TS', '6D', '3S', 'AS', 'AC']\n",
      "['2H', '4S', '5C', '5S', 'TC', 'KC', 'JD', '6C', 'TS', '3C']\n",
      "['QD', 'AS', '6H', 'JS', '2C', '3D', '9H', 'KC', '4H', '8S']\n",
      "['KD', '8S', '9S', '7C', '2S', '3S', '6D', '6S', '4H', 'KC']\n",
      "['3C', '8C', '2D', '7D', '4D', '9S', '4S', 'QH', '4H', 'JD']\n",
      "['8C', 'KC', '7S', 'TC', '2D', 'TS', '8H', 'QD', 'AC', '5C']\n",
      "['3D', 'KH', 'QD', '6C', '6S', 'AD', 'AS', '8H', '2H', 'QS']\n",
      "['6S', '8D', '4C', '8S', '6C', 'QH', 'TC', '6D', '7D', '9D']\n",
      "['2S', '8D', '8C', '4C', 'TS', '9S', '9D', '9C', 'AC', '3D']\n",
      "['3C', 'QS', '2S', '4H', 'JH', '3D', '2D', 'TD', '8S', '9H']\n",
      "['5H', 'QS', '8S', '6D', '3C', '8C', 'JD', 'AS', '7H', '7D']\n",
      "['6H', 'TD', '9D', 'AS', 'JH', '6C', 'QC', '9S', 'KD', 'JC']\n",
      "['AH', '8S', 'QS', '4D', 'TH', 'AC', 'TS', '3C', '3D', '5C']\n",
      "['5S', '4D', 'JS', '3D', '8H', '6C', 'TS', '3S', 'AD', '8C']\n",
      "['6D', '7C', '5D', '5H', '3S', '5C', 'JC', '2H', '5S', '3D']\n",
      "['5H', '6H', '2S', 'KS', '3D', '5D', 'JD', '7H', 'JS', '8H']\n",
      "['KH', '4H', 'AS', 'JS', 'QS', 'QC', 'TC', '6D', '7C', 'KS']\n",
      "['3D', 'QS', 'TS', '2H', 'JS', '4D', 'AS', '9S', 'JC', 'KD']\n",
      "['QD', '5H', '4D', '5D', 'KH', '7H', '3D', 'JS', 'KD', '4H']\n",
      "['2C', '9H', '6H', '5C', '9D', '6C', 'JC', '2D', 'TH', '9S']\n",
      "['7D', '6D', 'AS', 'QD', 'JH', '4D', 'JS', '7C', 'QS', '5C']\n",
      "['3H', 'KH', 'QD', 'AD', '8C', '8H', '3S', 'TH', '9D', '5S']\n",
      "['AH', '9S', '4D', '9D', '8S', '4H', 'JS', '3C', 'TC', '8D']\n",
      "['2C', 'KS', '5H', 'QD', '3S', 'TS', '9H', 'AH', 'AD', '8S']\n",
      "['5C', '7H', '5D', 'KD', '9H', '4D', '3D', '2D', 'KS', 'AD']\n",
      "['KS', 'KC', '9S', '6D', '2C', 'QH', '9D', '9H', 'TS', 'TC']\n",
      "['9C', '6H', '5D', 'QH', '4D', 'AD', '6D', 'QC', 'JS', 'KH']\n",
      "['9S', '3H', '9D', 'JD', '5C', '4D', '9H', 'AS', 'TC', 'QH']\n",
      "['2C', '6D', 'JC', '9C', '3C', 'AD', '9S', 'KH', '9D', '7D']\n",
      "['KC', '9C', '7C', 'JC', 'JS', 'KD', '3H', 'AS', '3C', '7D']\n",
      "['QD', 'KH', 'QS', '2C', '3S', '8S', '8H', '9H', '9C', 'JC']\n",
      "['QH', '8D', '3C', 'KC', '4C', '4H', '6D', 'AD', '9H', '9D']\n",
      "['3S', 'KS', 'QS', '7H', 'KH', '7D', '5H', '5D', 'JD', 'AD']\n",
      "['2H', '2C', '6H', 'TH', 'TC', '7D', '8D', '4H', '8C', 'AS']\n",
      "['4S', '2H', 'AC', 'QC', '3S', '6D', 'TH', '4D', '4C', 'KH']\n",
      "['4D', 'TC', 'KS', 'AS', '7C', '3C', '6D', '2D', '9H', '6C']\n",
      "['8C', 'TD', '5D', 'QS', '2C', '7H', '4C', '9C', '3H', '9H']\n",
      "['5H', 'JH', 'TS', '7S', 'TD', '6H', 'AD', 'QD', '8H', '8S']\n",
      "['5S', 'AD', '9C', '8C', '7C', '8D', '5H', '9D', '8S', '2S']\n",
      "['4H', 'KH', 'KS', '9S', '2S', 'KC', '5S', 'AD', '4S', '7D']\n",
      "['QS', '9C', 'QD', '6H', 'JS', '5D', 'AC', '8D', '2S', 'AS']\n",
      "['KH', 'AC', 'JC', '3S', '9D', '9S', '3C', '9C', '5S', 'JS']\n",
      "['AD', '3C', '3D', 'KS', '3S', '5C', '9C', '8C', 'TS', '4S']\n",
      "['JH', '8D', '5D', '6H', 'KD', 'QS', 'QD', '3D', '6C', 'KC']\n",
      "['8S', 'JD', '6C', '3S', '8C', 'TC', 'QC', '3C', 'QH', 'JS']\n",
      "['KC', 'JC', '8H', '2S', '9H', '9C', 'JH', '8S', '8C', '9S']\n",
      "['8S', '2H', 'QH', '4D', 'QC', '9D', 'KC', 'AS', 'TH', '3C']\n",
      "['8S', '6H', 'TH', '7C', '2H', '6S', '3C', '3H', 'AS', '7S']\n",
      "['QH', '5S', 'JS', '4H', '5H', 'TS', '8H', 'AH', 'AC', 'JC']\n",
      "['9D', '8H', '2S', '4S', 'TC', 'JC', '3C', '7H', '3H', '5C']\n",
      "['3D', 'AD', '3C', '3S', '4C', 'QC', 'AS', '5D', 'TH', '8C']\n",
      "['6S', '9D', '4C', 'JS', 'KH', 'AH', 'TS', 'JD', '8H', 'AD']\n",
      "['4C', '6S', '9D', '7S', 'AC', '4D', '3D', '3S', 'TC', 'JD']\n",
      "['AD', '7H', '6H', '4H', 'JH', 'KC', 'TD', 'TS', '7D', '6S']\n",
      "['8H', 'JH', 'TC', '3S', '8D', '8C', '9S', '2C', '5C', '4D']\n",
      "['2C', '9D', 'KC', 'QH', 'TH', 'QS', 'JC', '9C', '4H', 'TS']\n",
      "['QS', '3C', 'QD', '8H', 'KH', '4H', '8D', 'TD', '8S', 'AC']\n",
      "['7C', '3C', 'TH', '5S', '8H', '8C', '9C', 'JD', 'TC', 'KD']\n",
      "['QC', 'TC', 'JD', 'TS', '8C', '3H', '6H', 'KD', '7C', 'TD']\n",
      "['JH', 'QS', 'KS', '9C', '6D', '6S', 'AS', '9H', 'KH', '6H']\n",
      "['2H', '4D', 'AH', '2D', 'JH', '6H', 'TD', '5D', '4H', 'JD']\n",
      "['KD', '8C', '9S', 'JH', 'QD', 'JS', '2C', 'QS', '5C', '7C']\n",
      "['4S', 'TC', '7H', '8D', '2S', '6H', '7S', '9C', '7C', 'KC']\n",
      "['8C', '5D', '7H', '4S', 'TD', 'QC', '8S', 'JS', '4H', 'KS']\n",
      "['AD', '8S', 'JH', '6D', 'TD', 'KD', '7C', '6C', '2D', '7D']\n",
      "['JC', '6H', '6S', 'JS', '4H', 'QH', '9H', 'AH', '4C', '3C']\n",
      "['6H', '5H', 'AS', '7C', '7S', '3D', 'KH', 'KC', '5D', '5C']\n",
      "['JC', '3D', 'TD', 'AS', '4D', '6D', '6S', 'QH', 'JD', 'KS']\n",
      "['8C', '7S', '8S', 'QH', '2S', 'JD', '5C', '7H', 'AH', 'QD']\n",
      "['8S', '3C', '6H', '6C', '2C', '8D', 'TD', '7D', '4C', '4D']\n",
      "['5D', 'QH', 'KH', '7C', '2S', '7H', 'JS', '6D', 'QC', 'QD']\n",
      "['AD', '6C', '6S', '7D', 'TH', '6H', '2H', '8H', 'KH', '4H']\n",
      "['KS', 'JS', 'KD', '5D', '2D', 'KH', '7D', '9C', '8C', '3D']\n",
      "['9C', '6D', 'QD', '3C', 'KS', '3S', '7S', 'AH', 'JD', '2D']\n",
      "['AH', 'QH', 'AS', 'JC', '8S', '8H', '4C', 'KC', 'TH', '7D']\n",
      "['JC', '5H', 'TD', '7C', '5D', 'KD', '4C', 'AD', '8H', 'JS']\n",
      "['KC', '2H', 'AC', 'AH', '7D', 'JH', 'KH', '5D', '7S', '6D']\n",
      "['9S', '5S', '9C', '6H', '8S', 'TD', 'JD', '9H', '6C', 'AC']\n",
      "['7D', '8S', '6D', 'TS', 'KD', '7H', 'AC', '5S', '7C', '5D']\n",
      "['AH', 'QC', 'JC', '4C', 'TC', '8C', '2H', 'TS', '2C', '7D']\n",
      "['KD', 'KC', '6S', '3D', '7D', '2S', '8S', '3H', '5S', '5C']\n",
      "['8S', '5D', '8H', '4C', '6H', 'KC', '3H', '7C', '5S', 'KD']\n",
      "['JH', '8C', '3D', '3C', '6C', 'KC', 'TD', '7H', '7C', '4C']\n",
      "['JC', 'KC', '6H', 'TS', 'QS', 'TD', 'KS', '8H', '8C', '9S']\n",
      "['6C', '5S', '9C', 'QH', '7D', 'AH', 'KS', 'KC', '9S', '2C']\n",
      "['4D', '4S', '8H', 'TD', '9C', '3S', '7D', '9D', 'AS', 'TH']\n",
      "['6S', '7D', '3C', '6H', '5D', 'KD', '2C', '5C', '9D', '9C']\n",
      "['2H', 'KC', '3D', 'AD', '3H', 'QD', 'QS', '8D', 'JC', '4S']\n",
      "['8C', '3H', '9C', '7C', 'AD', '5D', 'JC', '9D', 'JS', 'AS']\n",
      "['5D', '9H', '5C', '7H', '6S', '6C', 'QC', 'JC', 'QD', '9S']\n",
      "['JC', 'QS', 'JH', '2C', '6S', '9C', 'QC', '3D', '4S', 'TC']\n",
      "['4H', '5S', '8D', '3D', '4D', '2S', 'KC', '2H', 'JS', '2C']\n",
      "['TD', '3S', 'TH', 'KD', '4D', '7H', 'JH', 'JS', 'KS', 'AC']\n",
      "['7S', '8C', '9S', '2D', '8S', '7D', '5C', 'AD', '9D', 'AS']\n",
      "['8C', '7H', '2S', '6C', 'TH', '3H', '4C', '3S', '8H', 'AC']\n",
      "['KD', '5H', 'JC', '8H', 'JD', '2D', '4H', 'TD', 'JH', '5C']\n",
      "['3D', 'AS', 'QH', 'KS', '7H', 'JD', '8S', '5S', '6D', '5H']\n",
      "['9S', '6S', 'TC', 'QS', 'JC', '5C', '5D', '9C', 'TH', '8C']\n",
      "['5H', '3S', 'JH', '9H', '2S', '2C', '6S', '7S', 'AS', 'KS']\n",
      "['8C', 'QD', 'JC', 'QS', 'TC', 'QC', '4H', 'AC', 'KH', '6C']\n",
      "['TC', '5H', '7D', 'JH', '4H', '2H', '8D', 'JC', 'KS', '4D']\n",
      "['5S', '9C', 'KH', 'KD', '9H', '5C', 'TS', '3D', '7D', '2D']\n",
      "['5H', 'AS', 'TC', '4D', '8C', '2C', 'TS', '9D', '3H', '8D']\n",
      "['6H', '8D', '2D', '9H', 'JD', '6C', '4S', '5H', '5S', '6D']\n",
      "['AD', '9C', 'JC', '7D', '6H', '9S', '6D', 'JS', '9H', '3C']\n",
      "['AD', 'JH', 'TC', 'QS', '4C', '5D', '9S', '7C', '9C', 'AH']\n",
      "['KD', '6H', '2H', 'TH', '8S', 'QD', 'KS', '9D', '9H', 'AS']\n",
      "['4H', '8H', '8D', '5H', '6C', 'AH', '5S', 'AS', 'AD', '8S']\n",
      "['QS', '5D', '4S', '2H', 'TD', 'KS', '5H', 'AC', '3H', 'JC']\n",
      "['9C', '7D', 'QD', 'KD', 'AC', '6D', '5H', 'QH', '6H', '5S']\n",
      "['KC', 'AH', 'QH', '2H', '7D', 'QS', '3H', 'KS', '7S', 'JD']\n",
      "['6C', '8S', '3H', '6D', 'KS', 'QD', '5D', '5C', '8H', 'TC']\n",
      "['9H', '4D', '4S', '6S', '9D', 'KH', 'QC', '4H', '6C', 'JD']\n",
      "['TD', '2D', 'QH', '4S', '6H', 'JH', 'KD', '3C', 'QD', '8C']\n",
      "['4S', '6H', '7C', 'QD', '9D', 'AS', 'AH', '6S', 'AD', '3C']\n",
      "['2C', 'KC', 'TH', '6H', '8D', 'AH', '5C', '6D', '8S', '5D']\n",
      "['TD', 'TS', '7C', 'AD', 'JC', 'QD', '9H', '3C', 'KC', '7H']\n",
      "['5D', '4D', '5S', '8H', '4H', '7D', '3H', 'JD', 'KD', '2D']\n",
      "['JH', 'TD', '6H', 'QS', '4S', 'KD', '5C', '8S', '7D', '8H']\n",
      "['AC', '3D', 'AS', '8C', 'TD', '7H', 'KH', '5D', '6C', 'JD']\n",
      "['9D', 'KS', '7C', '6D', 'QH', 'TC', 'JD', 'KD', 'AS', 'KC']\n",
      "['JH', '8S', '5S', '7S', '7D', 'AS', '2D', '3D', 'AD', '2H']\n",
      "['2H', '5D', 'AS', '3C', 'QD', 'KC', '6H', '9H', '9S', '2C']\n",
      "['9D', '5D', 'TH', '4C', 'JH', '3H', '8D', 'TC', '8H', '9H']\n",
      "['6H', 'KD', '2C', 'TD', '2H', '6C', '9D', '2D', 'JS', '8C']\n",
      "['KD', '7S', '3C', '7C', 'AS', 'QH', 'TS', 'AD', '8C', '2S']\n",
      "['QS', '8H', '6C', 'JS', '4C', '9S', 'QC', 'AD', 'TD', 'TS']\n",
      "['2H', '7C', 'TS', 'TC', '8C', '3C', '9H', '2D', '6D', 'JC']\n",
      "['TC', '2H', '8D', 'JH', 'KS', '6D', '3H', 'TD', 'TH', '8H']\n",
      "['9D', 'TD', '9H', 'QC', '5D', '6C', '8H', '8C', 'KC', 'TS']\n",
      "['2H', '8C', '3D', 'AH', '4D', 'TH', 'TC', '7D', '8H', 'KC']\n",
      "['TS', '5C', '2D', '8C', '6S', 'KH', 'AH', '5H', '6H', 'KC']\n",
      "['5S', '5D', 'AH', 'TC', '4C', 'JD', '8D', '6H', '8C', '6C']\n",
      "['KC', 'QD', '3D', '8H', '2D', 'JC', '9H', '4H', 'AD', '2S']\n",
      "['TD', '6S', '7D', 'JS', 'KD', '4H', 'QS', '2S', '3S', '8C']\n",
      "['4C', '9H', 'JH', 'TS', '3S', '4H', 'QC', '5S', '9S', '9C']\n",
      "['2C', 'KD', '9H', 'JS', '9S', '3H', 'JC', 'TS', '5D', 'AC']\n",
      "['AS', '2H', '5D', 'AD', '5H', 'JC', '7S', 'TD', 'JS', '4C']\n",
      "['2D', '4S', '8H', '3D', '7D', '2C', 'AD', 'KD', '9C', 'TS']\n",
      "['7H', 'QD', 'JH', '5H', 'JS', 'AC', '3D', 'TH', '4C', '8H']\n",
      "['6D', 'KH', 'KC', 'QD', '5C', 'AD', '7C', '2D', '4H', 'AC']\n",
      "['3D', '9D', 'TC', '8S', 'QD', '2C', 'JC', '4H', 'JD', 'AH']\n",
      "['6C', 'TD', '5S', 'TC', '8S', 'AH', '2C', '5D', 'AS', 'AC']\n",
      "['TH', '7S', '3D', 'AS', '6C', '4C', '7H', '7D', '4H', 'AH']\n",
      "['5C', '2H', 'KS', '6H', '7S', '4H', '5H', '3D', '3C', '7H']\n",
      "['3C', '9S', 'AC', '7S', 'QH', '2H', '3D', '6S', '3S', '3H']\n",
      "['2D', '3H', 'AS', '2C', '6H', 'TC', 'JS', '6S', '9C', '6C']\n",
      "['QH', 'KD', 'QD', '6D', 'AC', '6H', 'KH', '2C', 'TS', '8C']\n",
      "['8H', '7D', '3S', '9H', '5D', '3H', '4S', 'QC', '9S', '5H']\n",
      "['2D', '9D', '7H', '6H', '3C', '8S', '5H', '4D', '3S', '4S']\n",
      "['KD', '9S', '4S', 'TC', '7S', 'QC', '3S', '8S', '2H', '7H']\n",
      "['TC', '3D', '8C', '3H', '6C', '2H', '6H', 'KS', 'KD', '4D']\n",
      "['KC', '3D', '9S', '3H', 'JS', '4S', '8H', '2D', '6C', '8S']\n",
      "['6H', 'QS', '6C', 'TC', 'QD', '9H', '7D', '7C', '5H', '4D']\n",
      "['TD', '9D', '8D', '6S', '6C', 'TC', '5D', 'TS', 'JS', '8H']\n",
      "['4H', 'KC', 'JD', '9H', 'TC', '2C', '6S', '5H', '8H', 'AS']\n",
      "['JS', '9C', '5C', '6S', '9D', 'JD', '8H', 'KC', '4C', '6D']\n",
      "['4D', '8D', '8S', '6C', '7C', '6H', '7H', '8H', '5C', 'KC']\n",
      "['TC', '3D', 'JC', '6D', 'KS', '9S', '6H', '7S', '9C', '2C']\n",
      "['6C', '3S', 'KD', '5H', 'TS', '7D', '9H', '9S', '6H', 'KH']\n",
      "['3D', 'QD', '4C', '6H', 'TS', 'AC', '3S', '5C', '2H', 'KD']\n",
      "['4C', 'AS', 'JS', '9S', '7C', 'TS', '7H', '9H', 'JC', 'KS']\n",
      "['4H', '8C', 'JD', '3H', '6H', 'AD', '9S', '4S', '5S', 'KS']\n",
      "['4C', '2C', '7D', '3D', 'AS', '9C', '2S', 'QS', 'KC', '6C']\n",
      "['8S', '5H', '3D', '2S', 'AC', '9D', '6S', '3S', '4D', 'TD']\n",
      "['QD', 'TH', '7S', 'TS', '3D', 'AC', '7H', '6C', '5D', 'QC']\n",
      "['TC', 'QD', 'AD', '9C', 'QS', '5C', '8D', 'KD', '3D', '3C']\n",
      "['9D', '8H', 'AS', '3S', '7C', '8S', 'JD', '2D', '8D', 'KC']\n",
      "['4C', 'TH', 'AC', 'QH', 'JS', '8D', '7D', '7S', '9C', 'KH']\n",
      "['9D', '8D', '4C', 'JH', '2C', '2S', 'QD', 'KD', 'TS', '4H']\n",
      "['4D', '6D', '5D', '2D', 'JH', '3S', '8S', '3H', 'TC', 'KH']\n",
      "['AD', '4D', '2C', 'QS', '8C', 'KD', 'JH', 'JD', 'AH', '5C']\n",
      "['5C', '6C', '5H', '2H', 'JH', '4H', 'KS', '7C', 'TC', '3H']\n",
      "['3C', '4C', 'QC', '5D', 'JH', '9C', 'QD', 'KH', '8D', 'TC']\n",
      "['3H', '9C', 'JS', '7H', 'QH', 'AS', '7C', '9H', '5H', 'JC']\n",
      "['2D', '5S', 'QD', '4S', '3C', 'KC', '6S', '6C', '5C', '4C']\n",
      "['5D', 'KH', '2D', 'TS', '8S', '9C', 'AS', '9S', '7C', '4C']\n",
      "['7C', 'AH', '8C', '8D', '5S', 'KD', 'QH', 'QS', 'JH', '2C']\n",
      "['8C', '9D', 'AH', '2H', 'AC', 'QC', '5S', '8H', '7H', '2C']\n",
      "['QD', '9H', '5S', 'QS', 'QC', '9C', '5H', 'JC', 'TH', '4H']\n",
      "['6C', '6S', '3H', '5H', '3S', '6H', 'KS', '8D', 'AC', '7S']\n",
      "['AC', 'QH', '7H', '8C', '4S', 'KC', '6C', '3D', '3S', 'TC']\n",
      "['9D', '3D', 'JS', 'TH', 'AC', '5H', '3H', '8S', '3S', 'TC']\n",
      "['QD', 'KH', 'JS', 'KS', '9S', 'QC', '8D', 'AH', '3C', 'AC']\n",
      "['5H', '6C', 'KH', '3S', '9S', 'JH', '2D', 'QD', 'AS', '8C']\n",
      "['6C', '4D', '7S', '7H', '5S', 'JC', '6S', '9H', '4H', 'JH']\n",
      "['AH', '5S', '6H', '9S', 'AD', '3S', 'TH', '2H', '9D', '8C']\n",
      "['4C', '8D', '9H', '7C', 'QC', 'AD', '4S', '9C', 'KC', '5S']\n",
      "['9D', '6H', '4D', 'TC', '4C', 'JH', '2S', '5D', '3S', 'AS']\n",
      "['2H', '6C', '7C', 'KH', '5C', 'AD', 'QS', 'TH', 'JD', '8S']\n",
      "['3S', '4S', '7S', 'AH', 'AS', 'KC', 'JS', '2S', 'AD', 'TH']\n",
      "['JS', 'KC', '2S', '7D', '8C', '5C', '9C', 'TS', '5H', '9D']\n",
      "['7S', '9S', '4D', 'TD', 'JH', 'JS', 'KH', '6H', '5D', '2C']\n",
      "['JD', 'JS', 'JC', 'TH', '2D', '3D', 'QD', '8C', 'AC', '5H']\n",
      "['7S', 'KH', '5S', '9D', '5D', 'TD', '4S', '6H', '3C', '2D']\n",
      "['4S', '5D', 'AC', '8D', '4D', '7C', 'AD', 'AS', 'AH', '9C']\n",
      "['6S', 'TH', 'TS', 'KS', '2C', 'QC', 'AH', 'AS', '3C', '4S']\n",
      "['2H', '8C', '3S', 'JC', '5C', '7C', '3H', '3C', 'KH', 'JH']\n",
      "['7S', '3H', 'JC', '5S', '6H', '4C', '2S', '4D', 'KC', '7H']\n",
      "['4D', '7C', '4H', '9S', '8S', '6S', 'AD', 'TC', '6C', 'JC']\n",
      "['KH', 'QS', '3S', 'TC', '4C', '8H', '8S', 'AC', '3C', 'TS']\n",
      "['QD', 'QS', 'TH', '3C', 'TS', '7H', '7D', 'AH', 'TD', 'JC']\n",
      "['TD', 'JD', 'QC', '4D', '9S', '7S', 'TS', 'AD', '7D', 'AC']\n",
      "['AH', '7H', '4S', '6D', '7C', '2H', '9D', 'KS', 'JC', 'TD']\n",
      "['7C', 'AH', 'JD', '4H', '6D', 'QS', 'TS', '2H', '2C', '5C']\n",
      "['TC', 'KC', '8C', '9S', '4C', 'JS', '3C', 'JC', '6S', 'AH']\n",
      "['AS', '7D', 'QC', '3D', '5S', 'JC', 'JD', '9D', 'TD', 'KH']\n",
      "['TH', '3C', '2S', '6H', 'AH', 'AC', '5H', '5C', '7S', '8H']\n",
      "['QC', '2D', 'AC', 'QD', '2S', '3S', 'JD', 'QS', '6S', '8H']\n",
      "['KC', '4H', '3C', '9D', 'JS', '6H', '3S', '8S', 'AS', '8C']\n",
      "['7H', 'KC', '7D', 'JD', '2H', 'JC', 'QH', '5S', '3H', 'QS']\n",
      "['9H', 'TD', '3S', '8H', '7S', 'AC', '5C', '6C', 'AH', '7C']\n",
      "['8D', '9H', 'AH', 'JD', 'TD', 'QS', '7D', '3S', '9C', '8S']\n",
      "['AH', 'QH', '3C', 'JD', 'KC', '4S', '5S', '5D', 'TD', 'KS']\n",
      "['9H', '7H', '6S', 'JH', 'TH', '4C', '7C', 'AD', '5C', '2D']\n",
      "['7C', 'KD', '5S', 'TC', '9D', '6S', '6C', '5D', '2S', 'TH']\n",
      "['KC', '9H', '8D', '5H', '7H', '4H', 'QC', '3D', '7C', 'AS']\n",
      "['6S', '8S', 'QC', 'TD', '4S', '5C', 'TH', 'QS', 'QD', '2S']\n",
      "['8S', '5H', 'TH', 'QC', '9H', '6S', 'KC', '7D', '7C', '5C']\n",
      "['7H', 'KD', 'AH', '4D', 'KH', '5C', '4S', '2D', 'KC', 'QH']\n",
      "['6S', '2C', 'TD', 'JC', 'AS', '4D', '6C', '8C', '4H', '5S']\n",
      "['JC', 'TC', 'JD', '5S', '6S', '8D', 'AS', '9D', 'AD', '3S']\n",
      "['6D', '6H', '5D', '5S', 'TC', '3D', '7D', 'QS', '9D', 'QD']\n",
      "['4S', '6C', '8S', '3S', '7S', 'AD', 'KS', '2D', '7D', '7C']\n",
      "['KC', 'QH', 'JC', 'AC', 'QD', '5D', '8D', 'QS', '7H', '7D']\n",
      "['JS', 'AH', '8S', '5H', '3D', 'TD', '3H', '4S', '6C', 'JH']\n",
      "['4S', 'QS', '7D', 'AS', '9H', 'JS', 'KS', '6D', 'TC', '5C']\n",
      "['2D', '5C', '6H', 'TC', '4D', 'QH', '3D', '9H', '8S', '6C']\n",
      "['6D', '7H', 'TC', 'TH', '5S', 'JD', '5C', '9C', 'KS', 'KD']\n",
      "['8D', 'TD', 'QH', '6S', '4S', '6C', '8S', 'KC', '5C', 'TC']\n",
      "['5S', '3D', 'KS', 'AC', '4S', '7D', 'QD', '4C', 'TH', '2S']\n",
      "['TS', '8H', '9S', '6S', '7S', 'QH', '3C', 'AH', '7H', '8C']\n",
      "['4C', '8C', 'TS', 'JS', 'QC', '3D', '7D', '5D', '7S', 'JH']\n",
      "['8S', '7S', '9D', 'QC', 'AC', '7C', '6D', '2H', 'JH', 'KC']\n",
      "['JS', 'KD', '3C', '6S', '4S', '7C', 'AH', 'QC', 'KS', '5H']\n",
      "['KS', '6S', '4H', 'JD', 'QS', 'TC', '8H', 'KC', '6H', 'AS']\n",
      "['KH', '7C', 'TC', '6S', 'TD', 'JC', '5C', '7D', 'AH', '3S']\n",
      "['3H', '4C', '4H', 'TC', 'TH', '6S', '7H', '6D', '9C', 'QH']\n",
      "['7D', '5H', '4S', '8C', 'JS', '4D', '3D', '8S', 'QH', 'KC']\n",
      "['3H', '6S', 'AD', '7H', '3S', 'QC', '8S', '4S', '7S', 'JS']\n",
      "['3S', 'JD', 'KH', 'TH', '6H', 'QS', '9C', '6C', '2D', 'QD']\n",
      "['4S', 'QH', '4D', '5H', 'KC', '7D', '6D', '8D', 'TH', '5S']\n",
      "['TD', 'AD', '6S', '7H', 'KD', 'KH', '9H', '5S', 'KC', 'JC']\n",
      "['3H', 'QC', 'AS', 'TS', '4S', 'QD', 'KS', '9C', '7S', 'KC']\n",
      "['TS', '6S', 'QC', '6C', 'TH', 'TC', '9D', '5C', '5D', 'KD']\n",
      "['JS', '3S', '4H', 'KD', '4C', 'QD', '6D', '9S', 'JC', '9D']\n",
      "['8S', 'JS', '6D', '4H', 'JH', '6H', '6S', '6C', 'KS', 'KH']\n",
      "['AC', '7D', '5D', 'TC', '9S', 'KH', '6S', 'QD', '6H', 'AS']\n",
      "['AS', '7H', '6D', 'QH', '8D', 'TH', '2S', 'KH', '5C', '5H']\n",
      "['4C', '7C', '3D', 'QC', 'TC', '4S', 'KH', '8C', '2D', 'JS']\n",
      "['6H', '5D', '7S', '5H', '9C', '9H', 'JH', '8S', 'TH', '7H']\n",
      "['AS', 'JS', '2S', 'QD', 'KH', '8H', '4S', 'AC', '8D', '8S']\n",
      "['3H', '4C', 'TD', 'KD', '8C', 'JC', '5C', 'QS', '2D', 'JD']\n",
      "['TS', '7D', '5D', '6C', '2C', 'QS', '2H', '3C', 'AH', 'KS']\n",
      "['4S', '7C', '9C', '7D', 'JH', '6C', '5C', '8H', '9D', 'QD']\n",
      "['2S', 'TD', '7S', '6D', '9C', '9S', 'QS', 'KH', 'QH', '5C']\n",
      "['JC', '6S', '9C', 'QH', 'JH', '8D', '7S', 'JS', 'KH', '2H']\n",
      "['8D', '5H', 'TH', 'KC', '4D', '4S', '3S', '6S', '3D', 'QS']\n",
      "['2D', 'JD', '4C', 'TD', '7C', '6D', 'TH', '7S', 'JC', 'AH']\n",
      "['QS', '7S', '4C', 'TH', '9D', 'TS', 'AD', '4D', '3H', '6H']\n",
      "['2D', '3H', '7D', 'JD', '3D', 'AS', '2S', '9C', 'QC', '8S']\n",
      "['4H', '9H', '9C', '2C', '7S', 'JH', 'KD', '5C', '5D', '6H']\n",
      "['TC', '9H', '8H', 'JC', '3C', '9S', '8D', 'KS', 'AD', 'KC']\n",
      "['TS', '5H', 'JD', 'QS', 'QH', 'QC', '8D', '5D', 'KH', 'AH']\n",
      "['5D', 'AS', '8S', '6S', '4C', 'AH', 'QC', 'QD', 'TH', '7H']\n",
      "['3H', '4H', '7D', '6S', '4S', '9H', 'AS', '8H', 'JS', '9D']\n",
      "['JD', '8C', '2C', '9D', '7D', '5H', '5S', '9S', 'JC', 'KD']\n",
      "['KD', '9C', '4S', 'QD', 'AH', '7C', 'AD', '9D', 'AC', 'TD']\n",
      "['6S', '4H', '4S', '9C', '8D', 'KS', 'TC', '9D', 'JH', '7C']\n",
      "['5S', 'JC', '5H', '4S', 'QH', 'AC', '2C', 'JS', '2S', '9S']\n",
      "['8C', '5H', 'AS', 'QD', 'AD', '5C', '7D', '8S', 'QC', 'TD']\n",
      "['JC', '4C', '8D', '5C', 'KH', 'QS', '4D', '6H', '2H', '2C']\n",
      "['TH', '4S', '2D', 'KC', '3H', 'QD', 'AC', '7H', 'AD', '9D']\n",
      "['KH', 'QD', 'AS', '8H', 'TH', 'KC', '8D', '7S', 'QH', '8C']\n",
      "['JC', '6C', '7D', '8C', 'KH', 'AD', 'QS', '2H', '6S', '2D']\n",
      "['JC', 'KH', '2D', '7D', 'JS', 'QC', '5H', '4C', '5D', 'AD']\n",
      "['TS', '3S', 'AD', '4S', 'TD', '2D', 'TH', '6S', '9H', 'JH']\n",
      "['9H', '2D', 'QS', '2C', '4S', '3D', 'KH', 'AS', 'AC', '9D']\n",
      "['KH', '6S', '8H', '4S', 'KD', '7D', '9D', 'TS', 'QD', 'QC']\n",
      "['JH', '5H', 'AH', 'KS', 'AS', 'AD', 'JC', 'QC', '5S', 'KH']\n",
      "['5D', '7D', '6D', 'KS', 'KD', '3D', '7C', '4D', 'JD', '3S']\n",
      "['AC', 'JS', '8D', '5H', '9C', '3H', '4H', '4D', 'TS', '2C']\n",
      "['6H', 'KS', 'KH', '9D', '7C', '2S', '6S', '8S', '2H', '3D']\n",
      "['6H', 'AC', 'JS', '7S', '3S', 'TD', '8H', '3H', '4H', 'TH']\n",
      "['9H', 'TC', 'QC', 'KC', '5C', 'KS', '6H', '4H', 'AC', '8S']\n",
      "['TC', '7D', 'QH', '4S', 'JC', 'TS', '6D', '6C', 'AC', 'KH']\n",
      "['QH', '7D', '7C', 'JH', 'QS', 'QD', 'TH', '3H', '5D', 'KS']\n",
      "['3D', '5S', '8D', 'JS', '4C', '2C', 'KS', '7H', '9C', '4H']\n",
      "['5H', '8S', '4H', 'TD', '2C', '3S', 'QD', 'QC', '3H', 'KC']\n",
      "['QC', 'JS', 'KD', '9C', 'AD', '5S', '9D', '7D', '7H', 'TS']\n",
      "['8C', 'JC', 'KH', '7C', '7S', '6C', 'TS', '2C', 'QD', 'TH']\n",
      "['5S', '9D', 'TH', '3C', '7S', 'QH', '8S', '9C', '2H', '5H']\n",
      "['5D', '9H', '6H', '2S', 'JS', 'KH', '3H', '7C', '2H', '5S']\n",
      "['JD', '5D', '5S', '2C', 'TC', '2S', '6S', '6C', '3C', '8S']\n",
      "['4D', 'KH', '8H', '4H', '2D', 'KS', '3H', '5C', '2S', '9H']\n",
      "['3S', '2D', 'TD', '7H', '8S', '6H', 'JD', 'KC', '9C', '8D']\n",
      "['6S', 'QD', 'JH', '7C', '9H', '5H', '8S', '8H', 'TH', 'TD']\n",
      "['QS', '7S', 'TD', '7D', 'TS', 'JC', 'KD', '7C', '3C', '2C']\n",
      "['3C', 'JD', '8S', '4H', '2D', '2S', 'TD', 'AS', '4D', 'AC']\n",
      "['AH', 'KS', '6C', '4C', '4S', '7D', '8C', '9H', '6H', 'AS']\n",
      "['5S', '3C', '9S', '2C', 'QS', 'KD', '4D', '4S', 'AC', '5D']\n",
      "['2D', 'TS', '2C', 'JS', 'KH', 'QH', '5D', '8C', 'AS', 'KC']\n",
      "['KD', '3H', '6C', 'TH', '8S', '7S', 'KH', '6H', '9S', 'AC']\n",
      "['6H', '7S', '6C', 'QS', 'AH', '2S', '2H', '4H', '5D', '5H']\n",
      "['5H', 'JC', 'QD', '2C', '2S', 'JD', 'AS', 'QC', '6S', '7D']\n",
      "['6C', 'TC', 'AS', 'KD', '8H', '9D', '2C', '7D', 'JH', '9S']\n",
      "['2H', '4C', '6C', 'AH', '8S', 'TD', '3H', 'TH', '7C', 'TS']\n",
      "['KD', '4S', 'TS', '6C', 'QH', '8D', '9D', '9C', 'AH', '7D']\n",
      "['6D', 'JS', '5C', 'QD', 'QC', '9C', '5D', '8C', '2H', 'KD']\n",
      "['3C', 'QH', 'JH', 'AD', '6S', 'AH', 'KC', '8S', '6D', '6H']\n",
      "['3D', '7C', '4C', '7S', '5S', '3S', '6S', '5H', 'JC', '3C']\n",
      "['QH', '7C', '5H', '3C', '3S', '8C', 'TS', '4C', 'KD', '9C']\n",
      "['QD', '3S', '7S', '5H', '7H', 'QH', 'JC', '7C', '8C', 'KD']\n",
      "['3C', 'KD', 'KH', '2S', '4C', 'TS', 'AC', '6S', '2C', '7C']\n",
      "['2C', 'KH', '3C', '4C', '6H', '4D', '5H', '5S', '7S', 'QD']\n",
      "['4D', '7C', '8S', 'QD', 'TS', '9D', 'KS', '6H', 'KD', '3C']\n",
      "['QS', '4D', 'TS', '7S', '4C', '3H', 'QD', '8D', '9S', 'TC']\n",
      "['TS', 'QH', 'AC', '6S', '3C', '9H', '9D', 'QS', '8S', '6H']\n",
      "['3S', '7S', '5D', '4S', 'JS', '2D', '6C', 'QH', '6S', 'TH']\n",
      "['4C', '4H', 'AS', 'JS', '5D', '3D', 'TS', '9C', 'AC', '8S']\n",
      "['6S', '9C', '7C', '3S', '5C', 'QS', 'AD', 'AS', '6H', '3C']\n",
      "['9S', '8C', '7H', '3H', '6S', '7C', 'AS', '9H', 'JD', 'KH']\n",
      "['3D', '3H', '7S', '4D', '6C', '7C', 'AC', '2H', '9C', 'TH']\n",
      "['4H', '5S', '3H', 'AC', 'TC', 'TH', '9C', '9H', '9S', '8D']\n",
      "['8D', '9H', '5H', '4D', '6C', '2H', 'QD', '6S', '5D', '3S']\n",
      "['4C', '5C', 'JD', 'QS', '4D', '3H', 'TH', 'AC', 'QH', '8C']\n",
      "['QC', '5S', '3C', '7H', 'AD', '4C', 'KS', '4H', 'JD', '6D']\n",
      "['QS', 'AH', '3H', 'KS', '9H', '2S', 'JS', 'JH', '5H', '2H']\n",
      "['2H', '5S', 'TH', '6S', 'TS', '3S', 'KS', '3C', '5H', 'JS']\n",
      "['2D', '9S', '7H', '3D', 'KC', 'JH', '6D', '7D', 'JS', 'TD']\n",
      "['AC', 'JS', '8H', '2C', '8C', 'JH', 'JC', '2D', 'TH', '7S']\n",
      "['5D', '9S', '8H', '2H', '3D', 'TC', 'AH', 'JC', 'KD', '9C']\n",
      "['9D', 'QD', 'JC', '2H', '6D', 'KH', 'TS', '9S', 'QH', 'TH']\n",
      "['2C', '8D', '4S', 'JD', '5H', '3H', 'TH', 'TC', '9C', 'KC']\n",
      "['AS', '3D', '9H', '7D', '4D', 'TH', 'KH', '2H', '7S', '3H']\n",
      "['4H', '7S', 'KS', '2S', 'JS', 'TS', '8S', '2H', 'QD', '8D']\n",
      "['5S', '6H', 'JH', 'KS', '8H', '2S', 'QC', 'AC', '6S', '3S']\n",
      "['JC', 'AS', 'AD', 'QS', '8H', '6C', 'KH', '4C', '4D', 'QD']\n",
      "['2S', '3D', 'TS', 'TD', '9S', 'KS', '6S', 'QS', '5C', '8D']\n",
      "['3C', '6D', '4S', 'QC', 'KC', 'JH', 'QD', 'TH', 'KH', 'AD']\n",
      "['9H', 'AH', '4D', 'KS', '2S', '8D', 'JH', 'JC', '7C', 'QS']\n",
      "['2D', '6C', 'TH', '3C', '8H', 'QD', 'QH', '2S', '3S', 'KS']\n",
      "['6H', '5D', '9S', '4C', 'TS', 'TD', 'JS', 'QD', '9D', 'JD']\n",
      "['5H', '8H', 'KH', '8S', 'KS', '7C', 'TD', 'AD', '4S', 'KD']\n",
      "['2C', '7C', 'JC', '5S', 'AS', '6C', '7D', '8S', '5H', '9C']\n",
      "['6S', 'QD', '9S', 'TS', 'KH', 'QS', '5S', 'QH', '3C', 'KC']\n",
      "['7D', '3H', '3C', 'KD', '5C', 'AS', 'JH', '7H', '6H', 'JD']\n",
      "['9D', '5C', '9H', 'KC', '8H', 'KS', '4S', 'AD', '4D', '2S']\n",
      "['3S', 'JD', 'QD', '8D', '2S', '7C', '5S', '6S', '5H', 'TS']\n",
      "['6D', '9S', 'KC', 'TD', '3S', '6H', 'QD', 'JD', '5C', '8D']\n",
      "['5H', '9D', 'TS', 'KD', '8D', '6H', 'TD', 'QC', '4C', '7D']\n",
      "['6D', '4S', 'JD', '9D', 'AH', '9S', 'AS', 'TD', '9H', 'QD']\n",
      "['2D', '5S', '2H', '9C', '6H', '9S', 'TD', 'QC', '7D', 'TC']\n",
      "['3S', '2H', 'KS', 'TS', '2C', '9C', '8S', 'JS', '9D', '7D']\n",
      "['3C', 'KC', '6D', '5D', '6C', '6H', '8S', 'AS', '7S', 'QS']\n",
      "['JH', '9S', '2H', '8D', '4C', '8H', '9H', 'AD', 'TH', 'KH']\n",
      "['QC', 'AS', '2S', 'JS', '5C', '6H', 'KD', '3H', '7H', '2C']\n",
      "['QD', '8H', '2S', '8D', '3S', '6D', 'AH', '2C', 'TC', '5C']\n",
      "['JD', 'JS', 'TS', '8S', '3H', '5D', 'TD', 'KC', 'JC', '6H']\n",
      "['6S', 'QS', 'TC', '3H', '5D', 'AH', 'JC', '7C', '7D', '4H']\n",
      "['7C', '5D', '8H', '9C', '2H', '9H', 'JH', 'KH', '5S', '2C']\n",
      "['9C', '7H', '6S', 'TH', '3S', 'QC', 'QD', '4C', 'AC', 'JD']\n",
      "['2H', '5D', '9S', '7D', 'KC', '3S', 'QS', '2D', 'AS', 'KH']\n",
      "['2S', '4S', '2H', '7D', '5C', 'TD', 'TH', 'QH', '9S', '4D']\n",
      "['6D', '3S', 'TS', '6H', '4H', 'KS', '9D', '8H', '5S', '2D']\n",
      "['9H', 'KS', '4H', '3S', '5C', '5D', 'KH', '6H', '6S', 'JS']\n",
      "['KC', 'AS', '8C', '4C', 'JC', 'KH', 'QC', 'TH', 'QD', 'AH']\n",
      "['6S', 'KH', '9S', '2C', '5H', 'TC', '3C', '7H', 'JC', '4D']\n",
      "['JD', '4S', '6S', '5S', '8D', '7H', '7S', '4D', '4C', '2H']\n",
      "['7H', '9H', '5D', 'KH', '9C', '7C', 'TS', 'TC', '7S', '5H']\n",
      "['4C', '8D', 'QC', 'TS', '4S', '9H', '3D', 'AD', 'JS', '7C']\n",
      "['8C', 'QS', '5C', '5D', '3H', 'JS', 'AH', 'KC', '4S', '9D']\n",
      "['TS', 'JD', '8S', 'QS', 'TH', 'JH', 'KH', '2D', 'QD', 'JS']\n",
      "['JD', 'QC', '5D', '6S', '9H', '3S', '2C', '8H', '9S', 'TS']\n",
      "['2S', '4C', 'AD', '7H', 'JC', '5C', '2D', '6D', '4H', '3D']\n",
      "['7S', 'JS', '2C', '4H', '8C', 'AD', 'QD', '9C', '3S', 'TD']\n",
      "['JD', 'TS', '4C', '6H', '9H', '7D', 'QD', '6D', '3C', 'AS']\n",
      "['AS', '7C', '4C', '6S', '5D', '5S', '5C', 'JS', 'QC', '4S']\n",
      "['KD', '6S', '9S', '7C', '3C', '5S', '7D', 'JH', 'QD', 'JS']\n",
      "['4S', '7S', 'JH', '2C', '8S', '5D', '7H', '3D', 'QH', 'AD']\n",
      "['TD', '6H', '2H', '8D', '4H', '2D', '7C', 'AD', 'KH', '5D']\n",
      "['TS', '3S', '5H', '2C', 'QD', 'AH', '2S', '5C', 'KH', 'TD']\n",
      "['KC', '4D', '8C', '5D', 'AS', '6C', '2H', '2S', '9H', '7C']\n",
      "['KD', 'JS', 'QC', 'TS', 'QS', 'KH', 'JH', '2C', '5D', 'AD']\n",
      "['3S', '5H', 'KC', '6C', '9H', '3H', '2H', 'AD', '7D', '7S']\n",
      "['7S', 'JS', 'JH', 'KD', '8S', '7D', '2S', '9H', '7C', '2H']\n",
      "['9H', '2D', '8D', 'QC', '6S', 'AD', 'AS', '8H', '5H', '6C']\n",
      "['2S', '7H', '6C', '6D', '7D', '8C', '5D', '9D', 'JC', '3C']\n",
      "['7C', '9C', '7H', 'JD', '2H', 'KD', '3S', 'KH', 'AD', '4S']\n",
      "['QH', 'AS', '9H', '4D', 'JD', 'KS', 'KD', 'TS', 'KH', '5H']\n",
      "['4C', '8H', '5S', '3S', '3D', '7D', 'TD', 'AD', '7S', 'KC']\n",
      "['JS', '8S', '5S', 'JC', '8H', 'TH', '9C', '4D', '5D', 'KC']\n",
      "['7C', '5S', '9C', 'QD', '2C', 'QH', 'JS', '5H', '8D', 'KH']\n",
      "['TD', '2S', 'KS', '3D', 'AD', 'KC', '7S', 'TC', '3C', '5D']\n",
      "['4C', '2S', 'AD', 'QS', '6C', '9S', 'QD', 'TH', 'QH', '5C']\n",
      "['8C', 'AD', 'QS', '2D', '2S', 'KC', 'JD', 'KS', '6C', 'JC']\n",
      "['8D', '4D', 'JS', '2H', '5D', 'QD', '7S', '7D', 'QH', 'TS']\n",
      "['6S', '7H', '3S', '8C', '8S', '9D', 'QS', '8H', '6C', '9S']\n",
      "['4S', 'TC', '2S', '5C', 'QD', '4D', 'QS', '6D', 'TH', '6S']\n",
      "['3S', '5C', '9D', '6H', '8D', '4C', '7D', 'TC', '7C', 'TD']\n",
      "['AH', '6S', 'AS', '7H', '5S', 'KD', '3H', '5H', 'AC', '4C']\n",
      "['8D', '8S', 'AH', 'KS', 'QS', '2C', 'AD', '6H', '7D', '5D']\n",
      "['6H', '9H', '9S', '2H', 'QS', '8S', '9C', '5D', '2D', 'KD']\n",
      "['TS', 'QC', '5S', 'JH', '7D', '7S', 'TH', '9S', '9H', 'AC']\n",
      "['7H', '3H', '6S', 'KC', '4D', '6D', '5C', '4S', 'QD', 'TS']\n",
      "['TD', '2S', '7C', 'QD', '3H', 'JH', '9D', '4H', '7S', '7H']\n",
      "['KS', '3D', '4H', '5H', 'TC', '2S', 'AS', '2D', '6D', '7D']\n",
      "['8H', '3C', '7H', 'TD', '3H', 'AD', 'KC', 'TH', '9C', 'KH']\n",
      "['TC', '4C', '2C', '9S', '9D', '9C', '5C', '2H', 'JD', '3C']\n",
      "['3H', 'AC', 'TS', '5D', 'AD', '8D', '6H', 'QC', '6S', '8C']\n",
      "['2S', 'TS', '3S', 'JD', '7H', '8S', 'QH', '4C', '5S', '8D']\n",
      "['AC', '4S', '6C', '3C', 'KH', '3D', '7C', '2D', '8S', '2H']\n",
      "['4H', '6C', '8S', 'TH', '2H', '4S', '8H', '9S', '3H', '7S']\n",
      "['7C', '4C', '9C', '2C', '5C', 'AS', '5D', 'KD', '4D', 'QH']\n",
      "['9H', '4H', 'TS', 'AS', '7D', '8D', '5D', '9S', '8C', '2H']\n",
      "['QC', 'KD', 'AC', 'AD', '2H', '7S', 'AS', '3S', '2D', '9S']\n",
      "['2H', 'QC', '8H', 'TC', '6D', 'QD', 'QS', '5D', 'KH', '3C']\n",
      "['TH', 'JD', 'QS', '4C', '2S', '5S', 'AD', '7H', '3S', 'AS']\n",
      "['7H', 'JS', '3D', '6C', '3S', '6D', 'AS', '9S', 'AC', 'QS']\n",
      "['9C', 'TS', 'AS', '8C', 'TC', '8S', '6H', '9D', '8D', '6C']\n",
      "['4D', 'JD', '9C', 'KC', '7C', '6D', 'KS', '3S', '8C', 'AS']\n",
      "['3H', '6S', 'TC', '8D', 'TS', '3S', 'KC', '9S', '7C', 'AS']\n",
      "['8C', 'QC', '4H', '4S', '8S', '6C', '3S', 'TC', 'AH', 'AC']\n",
      "['4D', '7D', '5C', 'AS', '2H', '6S', 'TS', 'QC', 'AD', 'TC']\n",
      "['QD', 'QC', '8S', '4S', 'TH', '3D', 'AH', 'TS', 'JH', '4H']\n",
      "['5C', '2D', '9S', '2C', '3H', '3C', '9D', 'QD', 'QH', '7D']\n",
      "['KC', '9H', '6C', 'KD', '7S', '3C', '4D', 'AS', 'TC', '2D']\n",
      "['3D', 'JS', '4D', '9D', 'KS', '7D', 'TH', 'QC', '3H', '3C']\n",
      "['8D', '5S', '2H', '9D', '3H', '8C', '4C', '4H', '3C', 'TH']\n",
      "['JC', 'TH', '4S', '6S', 'JD', '2D', '4D', '6C', '3D', '4C']\n",
      "['TS', '3S', '2D', '4H', 'AC', '2C', '6S', '2H', 'JH', '6H']\n",
      "['TD', '8S', 'AD', 'TC', 'AH', 'AC', 'JH', '9S', '6S', '7S']\n",
      "['6C', 'KC', '4S', 'JD', '8D', '9H', '5S', '7H', 'QH', 'AH']\n",
      "['KD', '8D', 'TS', 'JH', '5C', '5H', '3H', 'AD', 'AS', 'JS']\n",
      "['2D', '4H', '3D', '6C', '8C', '7S', 'AD', '5D', '5C', '8S']\n",
      "['TD', '5D', '7S', '9C', '4S', '5H', '6C', '8C', '4C', '8S']\n",
      "['JS', 'QH', '9C', 'AS', '5C', 'QS', 'JC', '3D', 'QC', '7C']\n",
      "['JC', '9C', 'KH', 'JH', 'QS', 'QC', '2C', 'TS', '3D', 'AD']\n",
      "['5D', 'JH', 'AC', '5C', '9S', 'TS', '4C', 'JD', '8C', 'KS']\n",
      "['KC', 'AS', '2D', 'KH', '9H', '2C', '5S', '4D', '3D', '6H']\n",
      "['TH', 'AH', '2D', '8S', 'JC', '3D', '8C', 'QH', '7S', '3S']\n",
      "['8H', 'QD', '4H', 'JC', 'AS', 'KH', 'KS', '3C', '9S', '6D']\n",
      "['9S', 'QH', '7D', '9C', '4S', 'AC', '7H', 'KH', '4D', 'KD']\n",
      "['AH', 'AD', 'TH', '6D', '9C', '9S', 'KD', 'KS', 'QH', '4H']\n",
      "['QD', '6H', '9C', '7C', 'QS', '6D', '6S', '9D', '5S', 'JH']\n",
      "['AH', '8D', '5H', 'QD', '2H', 'JC', 'KS', '4H', 'KH', '5S']\n",
      "['5C', '2S', 'JS', '8D', '9C', '8C', '3D', 'AS', 'KC', 'AH']\n",
      "['JD', '9S', '2H', 'QS', '8H', '5S', '8C', 'TH', '5C', '4C']\n",
      "['QC', 'QS', '8C', '2S', '2C', '3S', '9C', '4C', 'KS', 'KH']\n",
      "['2D', '5D', '8S', 'AH', 'AD', 'TD', '2C', 'JS', 'KS', '8C']\n",
      "['TC', '5S', '5H', '8H', 'QC', '9H', '6H', 'JD', '4H', '9S']\n",
      "['3C', 'JH', '4H', '9H', 'AH', '4S', '2H', '4C', '8D', 'AC']\n",
      "['8S', 'TH', '4D', '7D', '6D', 'QD', 'QS', '7S', 'TC', '7C']\n",
      "['KH', '6D', '2D', 'JD', '5H', 'JS', 'QD', 'JH', '4H', '4S']\n",
      "['9C', '7S', 'JH', '4S', '3S', 'TS', 'QC', '8C', 'TC', '4H']\n",
      "['QH', '9D', '4D', 'JH', 'QS', '3S', '2C', '7C', '6C', '2D']\n",
      "['4H', '9S', 'JD', '5C', '5H', 'AH', '9D', 'TS', '2D', '4C']\n",
      "['KS', 'JH', 'TS', '5D', '2D', 'AH', 'JS', '7H', 'AS', '8D']\n",
      "['JS', 'AH', '8C', 'AD', 'KS', '5S', '8H', '2C', '6C', 'TH']\n",
      "['2H', '5D', 'AD', 'AC', 'KS', '3D', '8H', 'TS', '6H', 'QC']\n",
      "['6D', '4H', 'TS', '9C', '5H', 'JS', 'JH', '6S', 'JD', '4C']\n",
      "['JH', 'QH', '4H', '2C', '6D', '3C', '5D', '4C', 'QS', 'KC']\n",
      "['6H', '4H', '6C', '7H', '6S', '2S', '8S', 'KH', 'QC', '8C']\n",
      "['3H', '3D', '5D', 'KS', '4H', 'TD', 'AD', '3S', '4D', 'TS']\n",
      "['5S', '7C', '8S', '7D', '2C', 'KS', '7S', '6C', '8C', 'JS']\n",
      "['5D', '2H', '3S', '7C', '5C', 'QD', '5H', '6D', '9C', '9H']\n",
      "['JS', '2S', 'KD', '9S', '8D', 'TD', 'TS', 'AC', '8C', '9D']\n",
      "['5H', 'QD', '2S', 'AC', '8C', '9H', 'KS', '7C', '4S', '3C']\n",
      "['KH', 'AS', '3H', '8S', '9C', 'JS', 'QS', '4S', 'AD', '4D']\n",
      "['AS', '2S', 'TD', 'AD', '4D', '9H', 'JC', '4C', '5H', 'QS']\n",
      "['5D', '7C', '4H', 'TC', '2D', '6C', 'JS', '4S', 'KC', '3S']\n",
      "['4C', '2C', '5D', 'AC', '9H', '3D', 'JD', '8S', 'QS', 'QH']\n",
      "['2C', '8S', '6H', '3C', 'QH', '6D', 'TC', 'KD', 'AC', 'AH']\n",
      "['QC', '6C', '3S', 'QS', '4S', 'AC', '8D', '5C', 'AD', 'KH']\n",
      "['5S', '4C', 'AC', 'KH', 'AS', 'QC', '2C', '5C', '8D', '9C']\n",
      "['8H', 'JD', '3C', 'KH', '8D', '5C', '9C', 'QD', 'QH', '9D']\n",
      "['7H', 'TS', '2C', '8C', '4S', 'TD', 'JC', '9C', '5H', 'QH']\n",
      "['JS', '4S', '2C', '7C', 'TH', '6C', 'AS', 'KS', '7S', 'JD']\n",
      "['JH', '7C', '9H', '7H', 'TC', '5H', '3D', '6D', '5D', '4D']\n",
      "['2C', 'QD', 'JH', '2H', '9D', '5S', '3D', 'TD', 'AD', 'KS']\n",
      "['JD', 'QH', '3S', '4D', 'TH', '7D', '6S', 'QS', 'KS', '4H']\n",
      "['TC', 'KS', '5S', '8D', '8H', 'AD', '2S', '2D', '4C', 'JH']\n",
      "['5S', 'JH', 'TC', '3S', '2D', 'QS', '9D', '4C', 'KD', '9S']\n",
      "['AC', 'KH', '3H', 'AS', '9D', 'KC', '9H', 'QD', '6C', '6S']\n",
      "['9H', '7S', '3D', '5C', '7D', 'KC', 'TD', '8H', '4H', '6S']\n",
      "['3C', '7H', '8H', 'TC', 'QD', '4D', '7S', '6S', 'QH', '6C']\n",
      "['6D', 'AD', '4C', 'QD', '6C', '5D', '7D', '9D', 'KS', 'TS']\n",
      "['JH', '2H', 'JD', '9S', '7S', 'TS', 'KH', '8D', '5D', '8H']\n",
      "['2D', '9S', '4C', '7D', '9D', '5H', 'QD', '6D', 'AC', '6S']\n",
      "['7S', '6D', 'JC', 'QD', 'JH', '4C', '6S', 'QS', '2H', '7D']\n",
      "['8C', 'TD', 'JH', 'KD', '2H', '5C', 'QS', '2C', 'JS', '7S']\n",
      "['TC', '5H', '4H', 'JH', 'QD', '3S', '5S', '5D', '8S', 'KH']\n",
      "['KS', 'KH', '7C', '2C', '5D', 'JH', '6S', '9C', '6D', 'JC']\n",
      "['5H', 'AH', 'JD', '9C', 'JS', 'KC', '2H', '6H', '4D', '5S']\n",
      "['AS', '3C', 'TH', 'QC', '6H', '9C', '8S', '8C', 'TD', '7C']\n",
      "['KC', '2C', 'QD', '9C', 'KH', '4D', '7S', '3C', 'TS', '9H']\n",
      "['9C', 'QC', '2S', 'TS', '8C', 'TD', '9S', 'QD', '3S', '3C']\n",
      "['4D', '9D', 'TH', 'JH', 'AH', '6S', '2S', 'JD', 'QH', 'JS']\n",
      "['QD', '9H', '6C', 'KD', '7D', '7H', '5D', '6S', '8H', 'AH']\n",
      "['8H', '3C', '4S', '2H', '5H', 'QS', 'QH', '7S', '4H', 'AC']\n",
      "['QS', '3C', '7S', '9S', '4H', '3S', 'AH', 'KS', '9D', '7C']\n",
      "['AD', '5S', '6S', '2H', '2D', '5H', 'TC', '4S', '3C', '8C']\n",
      "['QH', 'TS', '6S', '4D', 'JS', 'KS', 'JH', 'AS', '8S', '6D']\n",
      "['2C', '8S', '2S', 'TD', '5H', 'AS', 'TC', 'TS', '6C', 'KC']\n",
      "['KC', 'TS', '8H', '2H', '3H', '7C', '4C', '5S', 'TH', 'TD']\n",
      "['KD', 'AD', 'KH', '7H', '7S', '5D', '5H', '5S', '2D', '9C']\n",
      "['AD', '9S', '3D', '7S', '8C', 'QC', '7C', '9C', 'KD', 'KS']\n",
      "['3C', 'QC', '9S', '8C', '4D', '5C', 'AS', 'QD', '6C', '2C']\n",
      "['2H', 'KC', '8S', 'JD', '7S', 'AC', '8D', '5C', '2S', '4D']\n",
      "['9D', 'QH', '3D', '2S', 'TC', '3S', 'KS', '3C', '9H', 'TD']\n",
      "['KD', '6S', 'AC', '2C', '7H', '5H', '3S', '6C', '6H', '8C']\n",
      "['QH', 'TC', '8S', '6S', 'KH', 'TH', '4H', '5D', 'TS', '4D']\n",
      "['8C', 'JS', '4H', '6H', '2C', '2H', '7D', 'AC', 'QD', '3D']\n",
      "['QS', 'KC', '6S', '2D', '5S', '4H', 'TD', '3H', 'JH', '4C']\n",
      "['7S', '5H', '7H', '8H', 'KH', '6H', 'QS', 'TH', 'KD', '7D']\n",
      "['5H', 'AD', 'KD', '7C', 'KH', '5S', 'TD', '6D', '3C', '6C']\n",
      "['8C', '9C', '5H', 'JD', '7C', 'KC', 'KH', '7H', '2H', '3S']\n",
      "['7S', '4H', 'AD', '4D', '8S', 'QS', 'TH', '3D', '7H', '5S']\n",
      "['8D', 'TC', 'KS', 'KD', '9S', '6D', 'AD', 'JD', '5C', '2S']\n",
      "['7H', '8H', '6C', 'QD', '2H', '6H', '9D', 'TC', '9S', '7C']\n",
      "['8D', '6D', '4C', '7C', '6C', '3C', 'TH', 'KH', 'JS', 'JH']\n",
      "['5S', '3S', '8S', 'JS', '9H', 'AS', 'AD', '8H', '7S', 'KD']\n",
      "['JH', '7C', '2C', 'KC', '5H', 'AS', 'AD', '9C', '9S', 'JS']\n",
      "['AD', 'AC', '2C', '6S', 'QD', '7C', '3H', 'TH', 'KS', 'KD']\n",
      "['9D', 'JD', '4H', '8H', '4C', 'KH', '7S', 'TS', '8C', 'KC']\n",
      "['3S', '5S', '2H', '7S', '6H', '7D', 'KS', '5C', '6D', 'AD']\n",
      "['5S', '8C', '9H', 'QS', '7H', '7S', '2H', '6C', '7D', 'TD']\n",
      "['QS', '5S', 'TD', 'AC', '9D', 'KC', '3D', 'TC', '2D', '4D']\n",
      "['TD', '2H', '7D', 'JD', 'QD', '4C', '7H', '5D', 'KC', '3D']\n",
      "['4C', '3H', '8S', 'KD', 'QH', '5S', 'QC', '9H', 'TC', '5H']\n",
      "['9C', 'QD', 'TH', '5H', 'TS', '5C', '9H', 'AH', 'QH', '2C']\n",
      "['4D', '6S', '3C', 'AC', '6C', '3D', '2C', '2H', 'TD', 'TH']\n",
      "['AC', '9C', '5D', 'QC', '4D', 'AD', '8D', '6D', '8C', 'KC']\n",
      "['AD', '3C', '4H', 'AC', '8D', '8H', '7S', '9S', 'TD', 'JC']\n",
      "['4H', '9H', 'QH', 'JS', '2D', 'TH', 'TD', 'TC', 'KD', 'KS']\n",
      "['5S', '6S', '9S', '8D', 'TH', 'AS', 'KH', '5H', '5C', '8S']\n",
      "['JD', '2S', '9S', '6S', '5S', '8S', '5D', '7S', '7H', '9D']\n",
      "['5D', '8C', '4C', '9D', 'AD', 'TS', '2C', '7D', 'KD', 'TC']\n",
      "['8S', 'QS', '4D', 'KC', '5C', '8D', '4S', 'KH', 'JD', 'KD']\n",
      "['AS', '5C', 'AD', 'QH', '7D', '2H', '9S', '7H', '7C', 'TC']\n",
      "['2S', '8S', 'JD', 'KH', '7S', '6C', '6D', 'AD', '5D', 'QC']\n",
      "['9H', '6H', '3S', '8C', '8H', 'AH', 'TC', '4H', 'JS', 'TD']\n",
      "['2C', 'TS', '4D', '7H', '2D', 'QC', '9C', '5D', 'TH', '7C']\n",
      "['6C', '8H', 'QC', '5D', 'TS', 'JH', '5C', '5H', '9H', '4S']\n",
      "['2D', 'QC', '7H', 'AS', 'JS', '8S', '2H', '4C', '4H', '8D']\n",
      "['JS', '6S', 'AC', 'KD', '3D', '3C', '4S', '7H', 'TH', 'KC']\n",
      "['QH', 'KH', '6S', 'QS', '5S', '4H', '3C', 'QD', '3S', '3H']\n",
      "['7H', 'AS', 'KH', '8C', '4H', '9C', '5S', '3D', '6S', 'TS']\n",
      "['9C', '7C', '3H', '5S', 'QD', '2C', '3D', 'AD', 'AC', '5H']\n",
      "['JH', 'TD', '2D', '4C', 'TS', '3H', 'KH', 'AD', '3S', '7S']\n",
      "['AS', '4C', '5H', '4D', '6S', 'KD', 'JC', '3C', '6H', '2D']\n",
      "['3H', '6S', '8C', '2D', 'TH', '4S', 'AH', 'QH', 'AD', '5H']\n",
      "['7C', '2S', '9H', '7H', 'KC', '5C', '6D', '5S', '3H', 'JC']\n",
      "['3C', 'TC', '9C', '4H', 'QD', 'TD', 'JH', '6D', '9H', '5S']\n",
      "['7C', '6S', '5C', '5D', '6C', '4S', '7H', '9H', '6H', 'AH']\n",
      "['AD', '2H', '7D', 'KC', '2C', '4C', '2S', '9S', '7H', '3S']\n",
      "['TH', '4C', '8S', '6S', '3S', 'AD', 'KS', 'AS', 'JH', 'TD']\n",
      "['5C', 'TD', '4S', '4D', 'AD', '6S', '5D', 'TC', '9C', '7D']\n",
      "['8H', '3S', '4D', '4S', '5S', '6H', '5C', 'AC', '3H', '3D']\n",
      "['9H', '3C', 'AC', '4S', 'QS', '8S', '9D', 'QH', '5H', '4D']\n",
      "['JC', '6C', '5H', 'TS', 'AC', '9C', 'JD', '8C', '7C', 'QD']\n",
      "['8S', '8H', '9C', 'JD', '2D', 'QC', 'QH', '6H', '3C', '8D']\n",
      "['KS', 'JS', '2H', '6H', '5H', 'QH', 'QS', '3H', '7C', '6D']\n",
      "['TC', '3H', '4S', '7H', 'QC', '2H', '3S', '8C', 'JS', 'KH']\n",
      "['AH', '8H', '5S', '4C', '9H', 'JD', '3H', '7S', 'JC', 'AC']\n",
      "['3C', '2D', '4C', '5S', '6C', '4S', 'QS', '3S', 'JD', '3D']\n",
      "['5H', '2D', 'TC', 'AH', 'KS', '6D', '7H', 'AD', '8C', '6H']\n",
      "['6C', '7S', '3C', 'JD', '7C', '8H', 'KS', 'KH', 'AH', '6D']\n",
      "['AH', '7D', '3H', '8H', '8S', '7H', 'QS', '5H', '9D', '2D']\n",
      "['JD', 'AC', '4H', '7S', '8S', '9S', 'KS', 'AS', '9D', 'QH']\n",
      "['7S', '2C', '8S', '5S', 'JH', 'QS', 'JC', 'AH', 'KD', '4C']\n",
      "['AH', '2S', '9H', '4H', '8D', 'TS', 'TD', '6H', 'QH', 'JD']\n",
      "['4H', 'JC', '3H', 'QS', '6D', '7S', '9C', '8S', '9D', '8D']\n",
      "['5H', 'TD', '4S', '9S', '4C', '8C', '8D', '7H', '3H', '3D']\n",
      "['QS', 'KH', '3S', '2C', '2S', '3C', '7S', 'TD', '4S', 'QD']\n",
      "['7C', 'TD', '4D', '5S', 'KH', 'AC', 'AS', '7H', '4C', '6C']\n",
      "['2S', '5H', '6D', 'JD', '9H', 'QS', '8S', '2C', '2H', 'TD']\n",
      "['2S', 'TS', '6H', '9H', '7S', '4H', 'JC', '4C', '5D', '5S']\n",
      "['2C', '5H', '7D', '4H', '3S', 'QH', 'JC', 'JS', '6D', '8H']\n",
      "['4C', 'QH', '7C', 'QD', '3S', 'AD', 'TH', '8S', '5S', 'TS']\n",
      "['9H', 'TC', '2S', 'TD', 'JC', '7D', '3S', '3D', 'TH', 'QH']\n",
      "['7D', '4C', '8S', '5C', 'JH', '8H', '6S', '3S', 'KC', '3H']\n",
      "['JC', '3H', 'KH', 'TC', 'QH', 'TH', '6H', '2C', 'AC', '5H']\n",
      "['QS', '2H', '9D', '2C', 'AS', '6S', '6C', '2S', '8C', '8S']\n",
      "['9H', '7D', 'QC', 'TH', '4H', 'KD', 'QS', 'AC', '7S', '3C']\n",
      "['4D', 'JH', '6S', '5S', '8H', 'KS', '9S', 'QC', '3S', 'AS']\n",
      "['JD', '2D', '6S', '7S', 'TC', '9H', 'KC', '3H', '7D', 'KD']\n",
      "['2H', 'KH', '7C', '4D', '4S', '3H', 'JS', 'QD', '7D', 'KC']\n",
      "['4C', 'JC', 'AS', '9D', '3C', 'JS', '6C', '8H', 'QD', '4D']\n",
      "['AH', 'JS', '3S', '6C', '4C', '3D', 'JH', '6D', '9C', '9H']\n",
      "['9H', '2D', '8C', '7H', '5S', 'KS', '6H', '9C', '2S', 'TC']\n",
      "['6C', '8C', 'AD', '7H', '6H', '3D', 'KH', 'AS', '5D', 'TH']\n",
      "['KS', '8C', '3S', 'TS', '8S', '4D', '5S', '9S', '6C', '4H']\n",
      "['9H', '4S', '4H', '5C', '7D', 'KC', '2D', '2H', '9D', 'JH']\n",
      "['5C', 'JS', 'TC', '9D', '9H', '5H', '7S', 'KH', 'JC', '6S']\n",
      "['7C', '9H', '8H', '4D', 'JC', 'KH', 'JD', '2H', 'TD', 'TC']\n",
      "['8H', '6C', '2H', '2C', 'KH', '6H', '9D', 'QS', 'QH', '5H']\n",
      "['AC', '7D', '2S', '3D', 'QD', 'JC', '2D', '8D', 'JD', 'JH']\n",
      "['2H', 'JC', '2D', '7H', '2C', '3C', '8D', 'KD', 'TD', '4H']\n",
      "['3S', '4H', '6D', '8D', 'TS', '3H', 'TD', '3D', '6H', 'TH']\n",
      "['JH', 'JC', '3S', 'AC', 'QH', '9H', '7H', '8S', 'QC', '2C']\n",
      "['7H', 'TD', 'QS', '4S', '8S', '9C', '2S', '5D', '4D', '2H']\n",
      "['3D', 'TS', '3H', '2S', 'QC', '8H', '6H', 'KC', 'JC', 'KS']\n",
      "['5D', 'JD', '7D', 'TC', '8C', '6C', '9S', '3D', '8D', 'AC']\n",
      "['8H', '6H', 'JH', '6C', '5D', '8D', '8S', '4H', 'AD', '2C']\n",
      "['9D', '4H', '2D', '2C', '3S', 'TS', 'AS', 'TC', '3C', '5D']\n",
      "['4D', 'TH', '5H', 'KS', 'QS', '6C', '4S', '2H', '3D', 'AD']\n",
      "['5C', 'KC', '6H', '2C', '5S', '3C', '4D', '2D', '9H', '9S']\n",
      "['JD', '4C', '3H', 'TH', 'QH', '9H', '5S', 'AH', '8S', 'AC']\n",
      "['7D', '9S', '6S', '2H', 'TD', '9C', '4H', '8H', 'QS', '4C']\n",
      "['3C', '6H', '5D', '4H', '8C', '9C', 'KC', '6S', 'QD', 'QS']\n",
      "['3S', '9H', 'KD', 'TC', '2D', 'JS', '8C', '6S', '4H', '4S']\n",
      "['2S', '4C', '8S', 'QS', '6H', 'KH', '3H', 'TH', '8C', '5D']\n",
      "['2C', 'KH', '5S', '3S', '7S', '7H', '6C', '9D', 'QD', '8D']\n",
      "['8H', 'KS', 'AC', '2D', 'KH', 'TS', '6C', 'JS', 'KC', '7H']\n",
      "['9C', 'KS', '5C', 'TD', 'QC', 'AH', '6C', '5H', '9S', '7C']\n",
      "['5D', '4D', '3H', '4H', '6S', '7C', '7S', 'AH', 'QD', 'TD']\n",
      "['2H', '7D', 'QC', '6S', 'TC', 'TS', 'AH', '7S', '9D', '3H']\n",
      "['TH', '5H', 'QD', '9S', 'KS', '7S', '7C', '6H', '8C', 'TD']\n",
      "['TH', '2D', '4D', 'QC', '5C', '7D', 'JD', 'AH', '9C', '4H']\n",
      "['4H', '3H', 'AH', '8D', '6H', 'QC', 'QH', '9H', '2H', '2C']\n",
      "['2D', 'AD', '4C', 'TS', '6H', '7S', 'TH', '4H', 'QS', 'TD']\n",
      "['3C', 'KD', '2H', '3H', 'QS', 'JD', 'TC', 'QC', '5D', '8H']\n",
      "['KS', 'JC', 'QD', 'TH', '9S', 'KD', '8D', '8C', '2D', '9C']\n",
      "['3C', 'QD', 'KD', '6D', '4D', '8D', 'AH', 'AD', 'QC', '8S']\n",
      "['8H', '3S', '9D', '2S', '3H', 'KS', '6H', '4C', '7C', 'KC']\n",
      "['TH', '9S', '5C', '3D', '7D', '6H', 'AC', '7S', '4D', '2C']\n",
      "['5C', '3D', 'JD', '4D', '2D', '6D', '5H', '9H', '4C', 'KH']\n",
      "['AS', '7H', 'TD', '6C', '2H', '3D', 'QD', 'KS', '4C', '4S']\n",
      "['JC', '3C', 'AC', '7C', 'JD', 'JS', '8H', '9S', 'QC', '5D']\n",
      "['JD', '6S', '5S', '2H', 'AS', '8C', '7D', '5H', 'JH', '3D']\n",
      "['8D', 'TC', '5S', '9S', '8S', '3H', 'JC', '5H', '7S', 'AS']\n",
      "['5C', 'TD', '3D', '7D', '4H', '8D', '7H', '4D', '5D', 'JS']\n",
      "['QS', '9C', 'KS', 'TD', '2S', '8S', '5C', '2H', '4H', 'AS']\n",
      "['TH', '7S', '4H', '7D', '3H', 'JD', 'KD', '5D', '2S', 'KC']\n",
      "['JD', '7H', '4S', '8H', '4C', 'JS', '6H', 'QH', '5S', '4H']\n",
      "['2C', 'QS', '8C', '5S', '3H', 'QC', '2S', '6C', 'QD', 'AD']\n",
      "['8C', '3D', 'JD', 'TC', '4H', '2H', 'AD', '5S', 'AC', '2S']\n",
      "['5D', '2C', 'JS', '2D', 'AD', '9D', '3D', '4C', '4S', 'JH']\n",
      "['8D', '5H', '5D', '6H', '7S', '4D', 'KS', '9D', 'TD', 'JD']\n",
      "['3D', '6D', '9C', '2S', 'AS', '7D', '5S', '5C', '8H', 'JD']\n",
      "['7C', '8S', '3S', '6S', '5H', 'JD', 'TC', 'AD', '7H', '7S']\n",
      "['2S', '9D', 'TS', '4D', 'AC', '8D', '6C', 'QD', 'JD', '3H']\n",
      "['9S', 'KH', '2C', '3C', 'AC', '3D', '5H', '6H', '8D', '5D']\n",
      "['KS', '3D', '2D', '6S', 'AS', '4C', '2S', '7C', '7H', 'KH']\n",
      "['AC', '2H', '3S', 'JC', '5C', 'QH', '4D', '2D', '5H', '7S']\n",
      "['TS', 'AS', 'JD', '8C', '6H', 'JC', '8S', '5S', '2C', '5D']\n",
      "['7S', 'QH', '7H', '6C', 'QC', '8H', '2D', '7C', 'JD', '2S']\n",
      "['2C', 'QD', '2S', '2H', 'JC', '9C', '5D', '2D', 'JD', 'JH']\n",
      "['7C', '5C', '9C', '8S', '7D', '6D', '8D', '6C', '9S', 'JH']\n",
      "['2C', 'AD', '6S', '5H', '3S', 'KS', '7S', '9D', 'KH', '4C']\n",
      "['7H', '6C', '2C', '5C', 'TH', '9D', '8D', '3S', 'QC', 'AH']\n",
      "['5S', 'KC', '6H', 'TC', '5H', '8S', 'TH', '6D', '3C', 'AH']\n",
      "['9C', 'KD', '4H', 'AD', 'TD', '9S', '4S', '7D', '6H', '5D']\n",
      "['7H', '5C', '5H', '6D', 'AS', '4C', 'KD', 'KH', '4H', '9D']\n",
      "['3C', '2S', '5C', '6C', 'JD', 'QS', '2H', '9D', '7D', '3H']\n",
      "['AC', '2S', '6S', '7S', 'JS', 'QD', '5C', 'QS', '6H', 'AD']\n",
      "['5H', 'TH', 'QC', '7H', 'TC', '3S', '7C', '6D', 'KC', '3D']\n",
      "['4H', '3D', 'QC', '9S', '8H', '2C', '3S', 'JC', 'KS', '5C']\n",
      "['4S', '6S', '2C', '6H', '8S', '3S', '3D', '9H', '3H', 'JS']\n",
      "['4S', '8C', '4D', '2D', '8H', '9H', '7D', '9D', 'AH', 'TS']\n",
      "['9S', '2C', '9H', '4C', '8D', 'AS', '7D', '3D', '6D', '5S']\n",
      "['6S', '4C', '7H', '8C', '3H', '5H', 'JC', 'AH', '9D', '9C']\n",
      "['2S', '7C', '5S', 'JD', '8C', '3S', '3D', '4D', '7D', '6S']\n",
      "['3C', 'KC', '4S', '5D', '7D', '3D', 'JD', '7H', '3H', '4H']\n",
      "['9C', '9H', '4H', '4D', 'TH', '6D', 'QD', '8S', '9S', '7S']\n",
      "['2H', 'AC', '8S', '4S', 'AD', '8C', '2C', 'AH', '7D', 'TC']\n",
      "['TS', '9H', '3C', 'AD', 'KS', 'TC', '3D', '8C', '8H', 'JD']\n",
      "['QC', '8D', '2C', '3C', '7D', '7C', 'JD', '9H', '9C', '6C']\n",
      "['AH', '6S', 'JS', 'JH', '5D', 'AS', 'QC', '2C', 'JD', 'TD']\n",
      "['9H', 'KD', '2H', '5D', '2D', '3S', '7D', 'TC', 'AH', 'TS']\n",
      "['TD', '8H', 'AS', '5D', 'AH', 'QC', 'AC', '6S', 'TC', '5H']\n",
      "['KS', '4S', '7H', '4D', '8D', '9C', 'TC', '2H', '6H', '3H']\n",
      "['3H', 'KD', '4S', 'QD', 'QH', '3D', '8H', '8C', 'TD', '7S']\n",
      "['8S', 'JD', 'TC', 'AH', 'JS', 'QS', '2D', 'KH', 'KS', '4D']\n",
      "['3C', 'AD', 'JC', 'KD', 'JS', 'KH', '4S', 'TH', '9H', '2C']\n",
      "['QC', '5S', 'JS', '9S', 'KS', 'AS', '7C', 'QD', '2S', 'JD']\n",
      "['KC', '5S', 'QS', '3S', '2D', 'AC', '5D', '9H', '8H', 'KS']\n",
      "['6H', '9C', 'TC', 'AD', '2C', '6D', '5S', 'JD', '6C', '7C']\n",
      "['QS', 'KH', 'TD', 'QD', '2C', '3H', '8S', '2S', 'QC', 'AH']\n",
      "['9D', '9H', 'JH', 'TC', 'QH', '3C', '2S', 'JS', '5C', '7H']\n",
      "['6C', '3S', '3D', '2S', '4S', 'QD', '2D', 'TH', '5D', '2C']\n",
      "['2D', '6H', '6D', '2S', 'JC', 'QH', 'AS', '7H', '4H', 'KH']\n",
      "['5H', '6S', 'KS', 'AD', 'TC', 'TS', '7C', 'AC', '4S', '4H']\n",
      "['AD', '3C', '4H', 'QS', '8C', '9D', 'KS', '2H', '2D', '4D']\n",
      "['4S', '9D', '6C', '6D', '9C', 'AC', '8D', '3H', '7H', 'KD']\n",
      "['JC', 'AH', '6C', 'TS', 'JD', '6D', 'AD', '3S', '5D', 'QD']\n",
      "['JC', 'JH', 'JD', '3S', '7S', '8S', 'JS', 'QC', '3H', '4S']\n",
      "['JD', 'TH', '5C', '2C', 'AD', 'JS', '7H', '9S', '2H', '7S']\n",
      "['8D', '3S', 'JH', '4D', 'QC', 'AS', 'JD', '2C', 'KC', '6H']\n",
      "['2C', 'AC', '5H', 'KD', '5S', '7H', 'QD', 'JH', 'AH', '2D']\n",
      "['JC', 'QH', '8D', '8S', 'TC', '5H', '5C', 'AH', '8C', '6C']\n",
      "['3H', 'JS', '8S', 'QD', 'JH', '3C', '4H', '6D', '5C', '3S']\n",
      "['6D', '4S', '4C', 'AH', '5H', '5S', '3H', 'JD', '7C', '8D']\n",
      "['8H', 'AH', '2H', '3H', 'JS', '3C', '7D', 'QC', '4H', 'KD']\n",
      "['6S', '2H', 'KD', '5H', '8H', '2D', '3C', '8S', '7S', 'QD']\n",
      "['2S', '7S', 'KC', 'QC', 'AH', 'TC', 'QS', '6D', '4C', '8D']\n",
      "['5S', '9H', '2C', '3S', 'QD', '7S', '6C', '2H', '7C', '9D']\n",
      "['3C', '6C', '5C', '5S', 'JD', 'JC', 'KS', '3S', '5D', 'TS']\n",
      "['7C', 'KS', '6S', '5S', '2S', '2D', 'TC', '2H', '5H', 'QS']\n",
      "['AS', '7H', '6S', 'TS', '5H', '9S', '9D', '3C', 'KD', '2H']\n",
      "['4S', 'JS', 'QS', '3S', '4H', '7C', '2S', 'AC', '6S', '9D']\n",
      "['8C', 'JH', '2H', '5H', '7C', '5D', 'QH', 'QS', 'KH', 'QC']\n",
      "['3S', 'TD', '3H', '7C', 'KC', '8D', '5H', '8S', 'KH', '8C']\n",
      "['4H', 'KH', 'JD', 'TS', '3C', '7H', 'AS', 'QC', 'JS', '5S']\n",
      "['AH', '9D', '2C', '8D', '4D', '2D', '6H', '6C', 'KC', '6S']\n",
      "['2S', '6H', '9D', '3S', '7H', '4D', 'KH', '8H', 'KD', '3D']\n",
      "['9C', 'TC', 'AC', 'JH', 'KH', '4D', 'JD', '5H', 'TD', '3S']\n",
      "['7S', '4H', '9D', 'AS', '4C', '7D', 'QS', '9S', '2S', 'KH']\n",
      "['3S', '8D', '8S', 'KS', '8C', 'JC', '5C', 'KH', '2H', '5D']\n",
      "['8S', 'QH', '2C', '4D', 'KC', 'JS', 'QC', '9D', 'AC', '6H']\n",
      "['8S', '8C', '7C', 'JS', 'JD', '6S', '4C', '9C', 'AC', '4S']\n",
      "['QH', '5D', '2C', '7D', 'JC', '8S', '2D', 'JS', 'JH', '4C']\n",
      "['JS', '4C', '7S', 'TS', 'JH', 'KC', 'KH', '5H', 'QD', '4S']\n",
      "['QD', '8C', '8D', '2D', '6S', 'TD', '9D', 'AC', 'QH', '5S']\n",
      "['QH', 'QC', 'JS', '3D', '3C', '5C', '4H', 'KH', '8S', '7H']\n",
      "['7C', '2C', '5S', 'JC', '8S', '3H', 'QC', '5D', '2H', 'KC']\n",
      "['5S', '8D', 'KD', '6H', '4H', 'QD', 'QH', '6D', 'AH', '3D']\n",
      "['7S', 'KS', '6C', '2S', '4D', 'AC', 'QS', '5H', 'TS', 'JD']\n",
      "['7C', '2D', 'TC', '5D', 'QS', 'AC', 'JS', 'QC', '6C', 'KC']\n",
      "['2C', 'KS', '4D', '3H', 'TS', '8S', 'AD', '4H', '7S', '9S']\n",
      "['QD', '9H', 'QH', '5H', '4H', '4D', 'KH', '3S', 'JC', 'AD']\n",
      "['4D', 'AC', 'KC', '8D', '6D', '4C', '2D', 'KH', '2C', 'JD']\n",
      "['2C', '9H', '2D', 'AH', '3H', '6D', '9C', '7D', 'TC', 'KS']\n",
      "['8C', '3H', 'KD', '7C', '5C', '2S', '4S', '5H', 'AS', 'AH']\n",
      "['TH', 'JD', '4H', 'KD', '3H', 'TC', '5C', '3S', 'AC', 'KH']\n",
      "['6D', '7H', 'AH', '7S', 'QC', '6H', '2D', 'TD', 'JD', 'AS']\n",
      "['JH', '5D', '7H', 'TC', '9S', '7D', 'JC', 'AS', '5S', 'KH']\n",
      "['2H', '8C', 'AD', 'TH', '6H', 'QD', 'KD', '9H', '6S', '6C']\n",
      "['QH', 'KC', '9D', '4D', '3S', 'JS', 'JH', '4H', '2C', '9H']\n",
      "['TC', '7H', 'KH', '4H', 'JC', '7D', '9S', '3H', 'QS', '7S']\n",
      "['AD', '7D', 'JH', '6C', '7H', '4H', '3S', '3H', '4D', 'QH']\n",
      "['JD', '2H', '5C', 'AS', '6C', 'QC', '4D', '3C', 'TC', 'JH']\n",
      "['AC', 'JD', '3H', '6H', '4C', 'JC', 'AD', '7D', '7H', '9H']\n",
      "['4H', 'TC', 'TS', '2C', '8C', '6S', 'KS', '2H', 'JD', '9S']\n",
      "['4C', '3H', 'QS', 'QC', '9S', '9H', '6D', 'KC', '9D', '9C']\n",
      "['5C', 'AD', '8C', '2C', 'QH', 'TH', 'QD', 'JC', '8D', '8H']\n",
      "['QC', '2C', '2S', 'QD', '9C', '4D', '3S', '8D', 'JH', 'QS']\n",
      "['9D', '3S', '2C', '7S', '7C', 'JC', 'TD', '3C', 'TC', '9H']\n",
      "['3C', 'TS', '8H', '5C', '4C', '2C', '6S', '8D', '7C', '4H']\n",
      "['KS', '7H', '2H', 'TC', '4H', '2C', '3S', 'AS', 'AH', 'QS']\n",
      "['8C', '2D', '2H', '2C', '4S', '4C', '6S', '7D', '5S', '3S']\n",
      "['TH', 'QC', '5D', 'TD', '3C', 'QS', 'KD', 'KC', 'KS', 'AS']\n",
      "['4D', 'AH', 'KD', '9H', 'KS', '5C', '4C', '6H', 'JC', '7S']\n",
      "['KC', '4H', '5C', 'QS', 'TC', '2H', 'JC', '9S', 'AH', 'QH']\n",
      "['4S', '9H', '3H', '5H', '3C', 'QD', '2H', 'QC', 'JH', '8H']\n",
      "['5D', 'AS', '7H', '2C', '3D', 'JH', '6H', '4C', '6S', '7D']\n",
      "['9C', 'JD', '9H', 'AH', 'JS', '8S', 'QH', '3H', 'KS', '8H']\n",
      "['3S', 'AC', 'QC', 'TS', '4D', 'AD', '3D', 'AH', '8S', '9H']\n",
      "['7H', '3H', 'QS', '9C', '9S', '5H', 'JH', 'JS', 'AH', 'AC']\n",
      "['8D', '3C', 'JD', '2H', 'AC', '9C', '7H', '5S', '4D', '8H']\n",
      "['7C', 'JH', '9H', '6C', 'JS', '9S', '7H', '8C', '9D', '4H']\n",
      "['2D', 'AS', '9S', '6H', '4D', 'JS', 'JH', '9H', 'AD', 'QD']\n",
      "['6H', '7S', 'JH', 'KH', 'AH', '7H', 'TD', '5S', '6S', '2C']\n",
      "['8H', 'JH', '6S', '5H', '5S', '9D', 'TC', '4C', 'QC', '9S']\n",
      "['7D', '2C', 'KD', '3H', '5H', 'AS', 'QD', '7H', 'JS', '4D']\n",
      "['TS', 'QH', '6C', '8H', 'TH', '5H', '3C', '3H', '9C', '9D']\n",
      "['AD', 'KH', 'JS', '5D', '3H', 'AS', 'AC', '9S', '5C', 'KC']\n",
      "['2C', 'KH', '8C', 'JC', 'QS', '6D', 'AH', '2D', 'KC', 'TC']\n",
      "['9D', '3H', '2S', '7C', '4D', '6D', 'KH', 'KS', '8D', '7D']\n",
      "['9H', '2S', 'TC', 'JH', 'AC', 'QC', '3H', '5S', '3S', '8H']\n",
      "['3S', 'AS', 'KD', '8H', '4C', '3H', '7C', 'JH', 'QH', 'TS']\n",
      "['7S', '6D', '7H', '9D', 'JH', '4C', '3D', '3S', '6C', 'AS']\n",
      "['4S', '2H', '2C', '4C', '8S', '5H', 'KC', '8C', 'QC', 'QD']\n",
      "['3H', '3S', '6C', 'QS', 'QC', '2D', '6S', '5D', '2C', '9D']\n",
      "['2H', '8D', 'JH', '2S', '3H', '2D', '6C', '5C', '7S', 'AD']\n",
      "['9H', 'JS', '5D', 'QH', '8S', 'TS', '2H', '7S', '6S', 'AD']\n",
      "['6D', 'QC', '9S', '7H', '5H', '5C', '7D', 'KC', 'JD', '4H']\n",
      "['QC', '5S', '9H', '9C', '4D', '6S', 'KS', '2S', '4C', '7C']\n",
      "['9H', '7C', '4H', '8D', '3S', '6H', '5C', '8H', 'JS', '7S']\n",
      "['2D', '6H', 'JS', 'TD', '4H', '4D', 'JC', 'TH', '5H', 'KC']\n",
      "['AC', '7C', '8D', 'TH', '3H', '9S', '2D', '4C', 'KC', '4D']\n",
      "['KD', 'QS', '9C', '7S', '3D', 'KS', 'AD', 'TS', '4C', '4H']\n",
      "['QH', '9C', '8H', '2S', '7D', 'KS', '7H', '5D', 'KD', '4C']\n",
      "['9C', '2S', '2H', 'JC', '6S', '6C', 'TC', 'QC', 'JH', '5C']\n",
      "['7S', 'AC', '8H', 'KC', '8S', '6H', 'QS', 'JC', '3D', '6S']\n",
      "['JS', '2D', 'JH', '8C', '4S', '6H', '8H', '6D', '5D', 'AD']\n",
      "['6H', '7D', '2S', '4H', '9H', '7C', 'AS', 'AC', '8H', '5S']\n",
      "['3C', 'JS', '4S', '6D', '5H', '2S', 'QH', '6S', '9C', '2C']\n",
      "['3D', '5S', '6S', '9S', '4C', 'QS', '8D', 'QD', '8S', 'TC']\n",
      "['9C', '3D', 'AH', '9H', '5S', '2C', '7D', 'AD', 'JC', '3S']\n",
      "['7H', 'TC', 'AS', '3C', '6S', '6D', '7S', 'KH', 'KC', '9H']\n",
      "['3S', 'TC', '8H', '6S', '5H', 'JH', '8C', '7D', 'AC', '2S']\n",
      "['QD', '9D', '9C', '3S', 'JC', '8C', 'KS', '8H', '5D', '4D']\n",
      "['JS', 'AH', 'JD', '6D', '9D', '8C', '9H', '9S', '8H', '3H']\n",
      "['2D', '6S', '4C', '4D', '8S', 'AD', '4S', 'TC', 'AH', '9H']\n",
      "['TS', 'AC', 'QC', 'TH', 'KC', '6D', '4H', '7S', '8C', '2H']\n",
      "['3C', 'QD', 'JS', '9D', '5S', 'JC', 'AH', '2H', 'TS', '9H']\n",
      "['3H', '4D', 'QH', '5D', '9C', '5H', '7D', '4S', 'JC', '3S']\n",
      "['8S', 'TH', '3H', '7C', '2H', 'JD', 'JS', 'TS', 'AC', '8D']\n",
      "['9C', '2H', 'TD', 'KC', 'JD', '2S', '8C', '5S', 'AD', '2C']\n",
      "['3D', 'KD', '7C', '5H', '4D', 'QH', 'QD', 'TC', '6H', '7D']\n",
      "['7H', '2C', 'KC', '5S', 'KD', '6H', 'AH', 'QC', '7S', 'QH']\n",
      "['6H', '5C', 'AC', '5H', '2C', '9C', '2D', '7C', 'TD', '2S']\n",
      "['4D', '9D', 'AH', '3D', '7C', 'JD', '4H', '8C', '4C', 'KS']\n",
      "['TH', '3C', 'JS', 'QH', '8H', '4C', 'AS', '3D', 'QS', 'QC']\n",
      "['4D', '7S', '5H', 'JH', '6D', '7D', '6H', 'JS', 'KH', '3C']\n",
      "['QD', '8S', '7D', '2H', '2C', '7C', 'JC', '2S', '5H', '8C']\n",
      "['QH', '8S', '9D', 'TC', '2H', 'AD', '7C', '8D', 'QD', '6S']\n",
      "['3S', '7C', 'AD', '9H', '2H', '9S', 'JD', 'TS', '4C', '2D']\n",
      "['3S', 'AS', '4H', 'QC', '2C', '8H', '8S', '7S', 'TD', 'TC']\n",
      "['JH', 'TH', 'TD', '3S', '4D', '4H', '5S', '5D', 'QS', '2C']\n",
      "['8C', 'QD', 'QH', 'TC', '6D', '4S', '9S', '9D', '4H', 'QC']\n",
      "['8C', 'JS', '9D', '6H', 'JD', '3H', 'AD', '6S', 'TD', 'QC']\n",
      "['KC', '8S', '3D', '7C', 'TD', '7D', '8D', '9H', '4S', '3S']\n",
      "['6C', '4S', '3D', '9D', 'KD', 'TC', 'KC', 'KS', 'AC', '5S']\n",
      "['7C', '6S', 'QH', '3D', 'JS', 'KD', '6H', '6D', '2D', '8C']\n",
      "['JD', '2S', '5S', '4H', '8S', 'AC', '2D', '6S', 'TS', '5C']\n",
      "['5H', '8C', '5S', '3C', '4S', '3D', '7C', '8D', 'AS', '3H']\n",
      "['AS', 'TS', '7C', '3H', 'AD', '7D', 'JC', 'QS', '6C', '6H']\n",
      "['3S', '9S', '4C', 'AC', 'QH', '5H', '5D', '9H', 'TS', '4H']\n",
      "['6C', '5C', '7H', '7S', 'TD', 'AD', 'JD', '5S', '2H', '2S']\n",
      "['7D', '6C', 'KC', '3S', 'JD', '8D', '8S', 'TS', 'QS', 'KH']\n",
      "['8S', 'QS', '8D', '6C', 'TH', 'AC', 'AH', '2C', '8H', '9S']\n",
      "['7H', 'TD', 'KH', 'QH', '8S', '3D', '4D', 'AH', 'JD', 'AS']\n",
      "['TS', '3D', '2H', 'JC', '2S', 'JH', 'KH', '6C', 'QC', 'JS']\n",
      "['KC', 'TH', '2D', '6H', '7S', '2S', 'TC', '8C', '9D', 'QS']\n",
      "['3C', '9D', '6S', 'KH', '8H', '6D', '5D', 'TH', '2C', '2H']\n",
      "['6H', 'TC', '7D', 'AD', '4D', '8S', 'TS', '9H', 'TD', '7S']\n",
      "['JS', '6D', 'JD', 'JC', '2H', 'AC', '6C', '3D', 'KH', '8D']\n",
      "['KH', 'JD', '9S', '5D', '4H', '4C', '3H', '7S', 'QS', '5C']\n",
      "['4H', 'JD', '5D', '3S', '3C', '4D', 'KH', 'QH', 'QS', '7S']\n",
      "['JD', 'TS', '8S', 'QD', 'AH', '4C', '6H', '3S', '5S', '2C']\n",
      "['QS', '3D', 'JD', 'AS', '8D', 'TH', '7C', '6S', 'QC', 'KS']\n",
      "['7S', '2H', '8C', 'QC', '7H', 'AC', '6D', '2D', 'TH', 'KH']\n",
      "['5S', '6C', '7H', 'KH', '7D', 'AH', '8C', '5C', '7S', '3D']\n",
      "['3C', 'KD', 'AD', '7D', '6C', '4D', 'KS', '2D', '8C', '4S']\n",
      "['7C', '8D', '5S', '2D', '2S', 'AH', 'AD', '2C', '9D', 'TD']\n",
      "['3C', 'AD', '4S', 'KS', 'JH', '7C', '5C', '8C', '9C', 'TH']\n",
      "['AS', 'TD', '4D', '7C', 'JD', '8C', 'QH', '3C', '5H', '9S']\n",
      "['3H', '9C', '8S', '9S', '6S', 'QD', 'KS', 'AH', '5H', 'JH']\n",
      "['QC', '9C', '5S', '4H', '2H', 'TD', '7D', 'AS', '8C', '9D']\n",
      "['8C', '2C', '9D', 'KD', 'TC', '7S', '3D', 'KH', 'QC', '3C']\n",
      "['4D', 'AS', '4C', 'QS', '5S', '9D', '6S', 'JD', 'QH', 'KS']\n",
      "['6D', 'AH', '6C', '4C', '5H', 'TS', '9H', '7D', '3D', '5S']\n",
      "['QS', 'JD', '7C', '8D', '9C', 'AC', '3S', '6S', '6C', 'KH']\n",
      "['8H', 'JH', '5D', '9S', '6D', 'AS', '6S', '3S', 'QC', '7H']\n",
      "['QD', 'AD', '5C', 'JH', '2H', 'AH', '4H', 'AS', 'KC', '2C']\n",
      "['JH', '9C', '2C', '6H', '2D', 'JS', '5D', '9H', 'KC', '6D']\n",
      "['7D', '9D', 'KD', 'TH', '3H', 'AS', '6S', 'QC', '6H', 'AD']\n",
      "['JD', '4H', '7D', 'KC', '3H', 'JS', '3C', 'TH', '3D', 'QS']\n",
      "['4C', '3H', '8C', 'QD', '5H', '6H', 'AS', '8H', 'AD', 'JD']\n",
      "['TH', '8S', 'KD', '5D', 'QC', '7D', 'JS', '5S', '5H', 'TS']\n",
      "['7D', 'KC', '9D', 'QS', '3H', '3C', '6D', 'TS', '7S', 'AH']\n",
      "['7C', '4H', '7H', 'AH', 'QC', 'AC', '4D', '5D', '6D', 'TH']\n",
      "['3C', '4H', '2S', 'KD', '8H', '5H', 'JH', 'TC', '6C', 'JD']\n",
      "['4S', '8C', '3D', '4H', 'JS', 'TD', '7S', 'JH', 'QS', 'KD']\n",
      "['7C', 'QC', 'KD', '4D', '7H', '6S', 'AD', 'TD', 'TC', 'KH']\n",
      "['5H', '9H', 'KC', '3H', '4D', '3D', 'AD', '6S', 'QD', '6H']\n",
      "['TH', '7C', '6H', 'TS', 'QH', '5S', '2C', 'KC', 'TD', '6S']\n",
      "['7C', '4D', '5S', 'JD', 'JH', '7D', 'AC', 'KD', 'KH', '4H']\n",
      "['7D', '6C', '8D', '8H', '5C', 'JH', '8S', 'QD', 'TH', 'JD']\n",
      "['8D', '7D', '6C', '7C', '9D', 'KD', 'AS', '5C', 'QH', 'JH']\n",
      "['9S', '2C', '8C', '3C', '4C', 'KS', 'JH', '2D', '8D', '4H']\n",
      "['7S', '6C', 'JH', 'KH', '8H', '3H', '9D', '2D', 'AH', '6D']\n",
      "['4D', 'TC', '9C', '8D', '7H', 'TD', 'KS', 'TH', 'KD', '3C']\n",
      "['JD', '9H', '8D', 'QD', 'AS', 'KD', '9D', '2C', '2S', '9C']\n",
      "['8D', '3H', '5C', '7H', 'KS', '5H', 'QH', '2D', '8C', '9H']\n",
      "['2D', 'TH', '6D', 'QD', '6C', 'KC', '3H', '3S', 'AD', '4C']\n",
      "['4H', '3H', 'JS', '9D', '3C', 'TC', '5H', 'QH', 'QC', 'JC']\n",
      "['3D', '5C', '6H', '3S', '3C', 'JC', '5S', '7S', '2S', 'QH']\n",
      "['AC', '5C', '8C', '4D', '5D', '4H', '2S', 'QD', '3C', '3H']\n",
      "['2C', 'TD', 'AH', '9C', 'KD', 'JS', '6S', 'QD', '4C', 'QC']\n",
      "['QS', '8C', '3S', '4H', 'TC', 'JS', '3H', '7C', 'JC', 'AD']\n",
      "['5H', '4D', '9C', 'KS', 'JC', 'TD', '9S', 'TS', '8S', '9H']\n",
      "['QD', 'TS', '7D', 'AS', 'AC', '2C', 'TD', '6H', '8H', 'AH']\n",
      "['6S', 'AD', '8C', '4S', '9H', '8D', '9D', 'KH', '8S', '3C']\n",
      "['QS', '4D', '2D', '7S', 'KH', 'JS', 'JC', 'AD', '4C', '3C']\n",
      "['QS', '9S', '7H', 'KC', 'TD', 'TH', '5H', 'JS', 'AC', 'JH']\n",
      "['6D', 'AC', '2S', 'QS', '7C', 'AS', 'KS', '6S', 'KH', '5S']\n",
      "['6D', '8H', 'KH', '3C', 'QS', '2H', '5C', '9C', '9D', '6C']\n",
      "['JS', '2C', '4C', '6H', '7D', 'JC', 'AC', 'QD', 'TD', '3H']\n",
      "['4H', 'QC', '8H', 'JD', '4C', 'KD', 'KS', '5C', 'KC', '7S']\n",
      "['6D', '2D', '3H', '2S', 'QD', '5S', '7H', 'AS', 'TH', '6S']\n",
      "['AS', '6D', '8D', '2C', '8S', 'TD', '8H', 'QD', 'JC', 'AH']\n",
      "['9C', '9H', '2D', 'TD', 'QH', '2H', '5C', 'TC', '3D', '8H']\n",
      "['KC', '8S', '3D', 'KH', '2S', 'TS', 'TC', '6S', '4D', 'JH']\n",
      "['9H', '9D', 'QS', 'AC', 'KC', '6H', '5D', '4D', '8D', 'AH']\n",
      "['9S', '5C', 'QS', '4H', '7C', '7D', '2H', '8S', 'AD', 'JS']\n",
      "['3D', 'AC', '9S', 'AS', '2C', '2D', '2H', '3H', 'JC', 'KH']\n",
      "['7H', 'QH', 'KH', 'JD', 'TC', 'KS', '5S', '8H', '4C', '8D']\n",
      "['2H', '7H', '3S', '2S', '5H', 'QS', '3C', 'AS', '9H', 'KD']\n",
      "['AD', '3D', 'JD', '6H', '5S', '9C', '6D', 'AC', '9S', '3S']\n",
      "['3D', '5D', '9C', '2D', 'AC', '4S', '2S', 'AD', '6C', '6S']\n",
      "['QC', '4C', '2D', '3H', '6S', 'KC', 'QH', 'QD', '2H', 'JH']\n",
      "['QC', '3C', '8S', '4D', '9S', '2H', '5C', '8H', 'QS', 'QD']\n",
      "['6D', 'KD', '6S', '7H', '3S', 'KH', '2H', '5C', 'JC', '6C']\n",
      "['3S', '9S', 'TC', '6S', '8H', '2D', 'AD', '7S', '8S', 'TS']\n",
      "['3C', '6H', '9C', '3H', '5C', 'JC', '8H', 'QH', 'TD', 'QD']\n",
      "['3C', 'JS', 'QD', '5D', 'TD', '2C', 'KH', '9H', 'TH', 'AS']\n",
      "['9S', 'TC', 'JD', '3D', '5C', '5H', 'AD', 'QH', '9H', 'KC']\n",
      "['TC', '7H', '4H', '8H', '3H', 'TD', '6S', 'AC', '7C', '2S']\n",
      "['QS', '9D', '5D', '3C', 'JC', 'KS', '4D', '6C', 'JH', '2S']\n",
      "['9S', '6S', '3C', '7H', 'TS', '4C', 'KD', '6D', '3D', '9C']\n",
      "['2D', '9H', 'AH', 'AC', '7H', '2S', 'JH', '3S', '7C', 'QC']\n",
      "['QD', '9H', '3C', '2H', 'AC', 'AS', '8S', 'KD', '8C', 'KH']\n",
      "['2D', '7S', 'TD', 'TH', '6D', 'JD', '8D', '4D', '2H', '5S']\n",
      "['8S', 'QH', 'KD', 'JD', 'QS', 'JH', '4D', 'KC', '5H', '3S']\n",
      "['3C', 'KH', 'QC', '6D', '8H', '3S', 'AH', '7D', 'TD', '2D']\n",
      "['5S', '9H', 'QH', '4S', '6S', '6C', '6D', 'TS', 'TH', '7S']\n",
      "['6C', '4C', '6D', 'QS', 'JS', '9C', 'TS', '3H', '8D', '8S']\n",
      "['JS', '5C', '7S', 'AS', '2C', 'AH', '2H', 'AD', '5S', 'TC']\n",
      "['KD', '6C', '9C', '9D', 'TS', '2S', 'JC', '4H', '2C', 'QD']\n",
      "['QS', '9H', 'TC', '3H', 'KC', 'KS', '4H', '3C', 'AD', 'TH']\n",
      "['KH', '9C', '2H', 'KD', '9D', 'TC', '7S', 'KC', 'JH', '2D']\n",
      "['7C', '3S', 'KC', 'AS', '8C', '5D', '9C', '9S', 'QH', '3H']\n",
      "['2D', '8C', 'TD', '4C', '2H', 'QC', '5D', 'TC', '2C', '7D']\n",
      "['KS', '4D', '6C', 'QH', 'TD', 'KH', '5D', '7C', 'AD', '8D']\n",
      "['2S', '9S', '8S', '4C', '8C', '3D', '6H', 'QD', '7C', '7H']\n",
      "['6C', '8S', 'QH', '5H', 'TS', '5C', '3C', '4S', '2S', '2H']\n",
      "['8S', '6S', '2H', 'JC', '3S', '3H', '9D', '8C', '2S', '7H']\n",
      "['QC', '2C', '8H', '9C', 'AC', 'JD', '4C', '4H', '6S', '3S']\n",
      "['3H', '3S', '7D', '4C', '9S', '5H', '8H', 'JC', '3D', 'TC']\n",
      "['QH', '2S', '2D', '9S', 'KD', 'QD', '9H', 'AD', '6D', '9C']\n",
      "['8D', '2D', 'KS', '9S', 'JC', '4C', 'JD', 'KC', '4S', 'TH']\n",
      "['KH', 'TS', '6D', '4D', '5C', 'KD', '5H', 'AS', '9H', 'AD']\n",
      "['QD', 'JS', '7C', '6D', '5D', '5C', 'TH', '5H', 'QH', 'QS']\n",
      "['9D', 'QH', 'KH', '5H', 'JH', '4C', '4D', 'TC', 'TH', '6C']\n",
      "['KH', 'AS', 'TS', '9D', 'KD', '9C', '7S', '4D', '8H', '5S']\n",
      "['KH', 'AS', '2S', '7D', '9D', '4C', 'TS', 'TH', 'AH', '7C']\n",
      "['KS', '4D', 'AC', '8S', '9S', '8D', 'TH', 'QH', '9D', '5C']\n",
      "['5D', '5C', '8C', 'QS', 'TC', '4C', '3D', '3S', '2C', '8D']\n",
      "['9D', 'KS', '2D', '3C', 'KC', '4S', '8C', 'KH', '6C', 'JC']\n",
      "['8H', 'AH', '6H', '7D', '7S', 'QD', '3C', '4C', '6C', 'KC']\n",
      "['3H', '2C', 'QH', '8H', 'AS', '7D', '4C', '8C', '4H', 'KC']\n",
      "['QD', '5S', '4H', '2C', 'TD', 'AH', 'JH', 'QH', '4C', '8S']\n",
      "['3H', 'QS', '5S', 'JS', '8H', '2S', '9H', '9C', '3S', '2C']\n",
      "['6H', 'TS', '7S', 'JC', 'QD', 'AC', 'TD', 'KC', '5S', '3H']\n",
      "['QH', 'AS', 'QS', '7D', 'JC', 'KC', '2C', '4C', '5C', '5S']\n",
      "['QH', '3D', 'AS', 'JS', '4H', '8D', '7H', 'JC', '2S', '9C']\n",
      "['5D', '4D', '2S', '4S', '9D', '9C', '2D', 'QS', '8H', '7H']\n",
      "['6D', '7H', '3H', 'JS', 'TS', 'AC', '2D', 'JH', '7C', '8S']\n",
      "['JH', '5H', 'KC', '3C', 'TC', '5S', '9H', '4C', '8H', '9D']\n",
      "['8S', 'KC', '5H', '9H', 'AD', 'KS', '9D', 'KH', '8D', 'AH']\n",
      "['JC', '2H', '9H', 'KS', '6S', '3H', 'QC', '5H', 'AH', '9C']\n",
      "['5C', 'KH', '5S', 'AD', '6C', 'JC', '9H', 'QC', '9C', 'TD']\n",
      "['5S', '5D', 'JC', 'QH', '2D', 'KS', '8H', 'QS', '2H', 'TS']\n",
      "['JH', '5H', '5S', 'AH', '7H', '3C', '8S', 'AS', 'TD', 'KH']\n",
      "['6H', '3D', 'JD', '2C', '4C', 'KC', '7S', 'AH', '6C', 'JH']\n",
      "['4C', 'KS', '9D', 'AD', '7S', 'KC', '7D', '8H', '3S', '9C']\n",
      "['7H', '5C', '5H', '3C', '8H', 'QC', '3D', 'KH', '6D', 'JC']\n",
      "['2D', '4H', '5D', '7D', 'QC', 'AD', 'AH', '9H', 'QH', '8H']\n",
      "['KD', '8C', 'JS', '9D', '3S', '3C', '2H', '5D', '6D', '2S']\n",
      "['8S', '6S', 'TS', '3C', '6H', '8D', '5S', '3H', 'TD', '6C']\n",
      "['KS', '3D', 'JH', '9C', '7C', '9S', 'QS', '5S', '4H', '6H']\n",
      "['7S', '6S', 'TH', '4S', 'KC', 'KD', '3S', 'JC', 'JH', 'KS']\n",
      "['7C', '3C', '2S', '6D', 'QH', '2C', '7S', '5H', '8H', 'AH']\n",
      "['KC', '8D', 'QD', '6D', 'KH', '5C', '7H', '9D', '3D', '9C']\n",
      "['6H', '2D', '8S', 'JS', '9S', '2S', '6D', 'KC', '7C', 'TC']\n",
      "['KD', '9C', 'JH', '7H', 'KC', '8S', '2S', '7S', '3D', '6H']\n",
      "['4H', '9H', '2D', '4C', '8H', '7H', '5S', '8S', '2H', '8D']\n",
      "['AD', '7C', '3C', '7S', '5S', '4D', '9H', '3D', 'JC', 'KH']\n",
      "['5D', 'AS', '7D', '6D', '9C', 'JC', '4C', 'QH', 'QS', 'KH']\n",
      "['KD', 'JD', '7D', '3D', 'QS', 'QC', '8S', '6D', 'JS', 'QD']\n",
      "['6S', '8C', '5S', 'QH', 'TH', '9H', 'AS', 'AC', '2C', 'JD']\n",
      "['QC', 'KS', 'QH', '7S', '3C', '4C', '5C', 'KC', '5D', 'AH']\n",
      "['6C', '4H', '9D', 'AH', '2C', '3H', 'KD', '3D', 'TS', '5C']\n",
      "['TD', '8S', 'QS', 'AS', 'JS', '3H', 'KD', 'AC', '4H', 'KS']\n",
      "['7D', '5D', 'TS', '9H', '4H', '4C', '9C', '2H', '8C', 'QC']\n",
      "['2C', '7D', '9H', '4D', 'KS', '4C', 'QH', 'AD', 'KD', 'JS']\n",
      "['QD', 'AD', 'AH', 'KH', '9D', 'JS', '9H', 'JC', 'KD', 'JD']\n",
      "['8S', '3C', '4S', 'TS', '7S', '4D', '5C', '2S', '6H', '7C']\n",
      "['JS', '7S', '5C', 'KD', '6D', 'QH', '8S', 'TD', '2H', '6S']\n",
      "['QH', '6C', 'TC', '6H', 'TD', '4C', '9D', '2H', 'QC', '8H']\n",
      "['3D', 'TS', '4D', '2H', '6H', '6S', '2C', '7H', '8S', '6C']\n",
      "['9H', '9D', 'JD', 'JH', '3S', 'AH', '2C', '6S', '3H', '8S']\n",
      "['2C', 'QS', '8C', '5S', '3H', '2S', '7D', '3C', 'AD', '4S']\n",
      "['5C', 'QC', 'QH', 'AS', 'TS', '4S', '6S', '4C', '5H', 'JS']\n",
      "['JH', '5C', 'TD', '4C', '6H', 'JS', 'KD', 'KH', 'QS', '4H']\n",
      "['TC', 'KH', 'JC', '4D', '9H', '9D', '8D', 'KC', '3C', '8H']\n",
      "['2H', 'TC', '8S', 'AD', '9S', '4H', 'TS', '7H', '2C', '5C']\n",
      "['4H', '2S', '6C', '5S', 'KS', 'AH', '9C', '7C', '8H', 'KD']\n",
      "['TS', 'QH', 'TD', 'QS', '3C', 'JH', 'AH', '2C', '8D', '7D']\n",
      "['5D', 'KC', '3H', '5S', 'AC', '4S', '7H', 'QS', '4C', '2H']\n",
      "['3D', '7D', 'QC', 'KH', 'JH', '6D', '6C', 'TD', 'TH', 'KD']\n",
      "['5S', '8D', 'TH', '6C', '9D', '7D', 'KH', '8C', '9S', '6D']\n",
      "['JD', 'QS', '7S', 'QC', '2S', 'QH', 'JC', '4S', 'KS', '8D']\n",
      "['7S', '5S', '9S', 'JD', 'KD', '9C', 'JC', 'AD', '2D', '7C']\n",
      "['4S', '5H', 'AH', 'JH', '9C', '5D', 'TD', '7C', '2D', '6S']\n",
      "['KC', '6C', '7H', '6S', '9C', 'QD', '5S', '4H', 'KS', 'TD']\n",
      "['6S', '8D', 'KS', '2D', 'TH', 'TD', '9H', 'JD', 'TS', '3S']\n",
      "['KH', 'JS', '4H', '5D', '9D', 'TC', 'TD', 'QC', 'JD', 'TS']\n",
      "['QS', 'QD', 'AC', 'AD', '4C', '6S', '2D', 'AS', '3H', 'KC']\n",
      "['4C', '7C', '3C', 'TD', 'QS', '9C', 'KC', 'AS', '8D', 'AD']\n",
      "['KC', '7H', 'QC', '6D', '8H', '6S', '5S', 'AH', '7S', '8C']\n",
      "['3S', 'AD', '9H', 'JC', '6D', 'JD', 'AS', 'KH', '6S', 'JH']\n",
      "['AD', '3D', 'TS', 'KS', '7H', 'JH', '2D', 'JS', 'QD', 'AC']\n",
      "['9C', 'JD', '7C', '6D', 'TC', '6H', '6C', 'JC', '3D', '3S']\n",
      "['QC', 'KC', '3S', 'JC', 'KD', '2C', '8D', 'AH', 'QS', 'TS']\n",
      "['AS', 'KD', '3D', 'JD', '8H', '7C', '8C', '5C', 'QD', '6C']\n"
     ]
    }
   ],
   "source": [
    "from collections import Counter\n",
    "\n",
    "dic_pok = {'2':1,'3':2,'4':3,'5':4,'6':5,'7':6,'8':7,'9':8,'T':9,'J':10,'Q':11,'K':12,'A':13}\n",
    "all_pok_values = '23456789TJQKA'\n",
    "\n",
    "# def returnPokerType(x):\n",
    "#     '''排好序的扑克的牌面类型'''\n",
    "#     #检查是否是相同的花色\n",
    "#     huase = x[0][1]\n",
    "#     huase_is_sample = True\n",
    "#     for i in x[1:]:\n",
    "#         if huase != i[1]:\n",
    "#             huase_is_sample = False\n",
    "#             break\n",
    "#     #检查牌面是否有相同的点数\n",
    "#     all_pok_value = [j[0] for j in x]\n",
    "    \n",
    "#     if not huase_is_sample:\n",
    "#         #所有花色相同,肯定不是相同点数\n",
    "#         for k,v in Counter(all_pok_value).items():\n",
    "            \n",
    "    \n",
    "#     #检查牌面是否是相连的5张\n",
    "    \n",
    "    \n",
    "def pokerCompare(x):\n",
    "    '''比较两种手牌的大小'''\n",
    "    player1 = x[:5]\n",
    "    player2 = x[5:]\n",
    "    player1.sort(key=lambda x: (dic_pok[x[0]],x[1]))\n",
    "    player2.sort(key=lambda x: (dic_pok[x[0]],x[1]))\n",
    "    \n",
    "    player1_poker_value = []\n",
    "    player2_poker_value = []\n",
    "    player1_poker_suit = []\n",
    "    player2_poker_suit = []\n",
    "    \n",
    "    player1_poker = [player1_poker_value.append(i[0]),player1_poker_suit.append(i[1]) for i in player1]\n",
    "    player2_poker = [player2_poker_value.append(i[0]),player2_poker_suit.append(i[1]) for i in player2]\n",
    "    print(player1_poker)\n",
    "    print(player2_poker)\n",
    "    \n",
    "    \n",
    "\n",
    "    \n",
    "with open('p054_poker.txt') as f:\n",
    "    for i in f:\n",
    "        tmp = i.replace('\\n','')\n",
    "        tmps = tmp.split(' ')\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 77,
   "metadata": {},
   "outputs": [],
   "source": [
    "x = ['8C', 'TS', 'KC', '9H', '4S', '7D', '2S', '5D', '3S', 'AC']\n",
    "player1 = x[:5]\n",
    "player2 = x[5:]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 80,
   "metadata": {},
   "outputs": [],
   "source": [
    "player2[1] = '3S'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 83,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['8C', 'TS', 'KC', '9H', '4S', '7D', '2S', '5D', '3S', 'AC']\n",
      "['5C', 'AD', '5D', 'AC', '9C', '7C', '5H', '8D', 'TD', 'KS']\n",
      "['3H', '7H', '6S', 'KC', 'JS', 'QH', 'TD', 'JC', '2D', '8S']\n",
      "['TH', '8H', '5C', 'QS', 'TC', '9H', '4D', 'JC', 'KS', 'JS']\n",
      "['7C', '5H', 'KC', 'QH', 'JD', 'AS', 'KH', '4C', 'AD', '4S']\n",
      "['5H', 'KS', '9C', '7D', '9H', '8D', '3S', '5D', '5C', 'AH']\n",
      "['6H', '4H', '5C', '3H', '2H', '3S', 'QH', '5S', '6S', 'AS']\n",
      "['TD', '8C', '4H', '7C', 'TC', 'KC', '4C', '3H', '7S', 'KS']\n",
      "['7C', '9C', '6D', 'KD', '3H', '4C', 'QS', 'QC', 'AC', 'KH']\n",
      "['JC', '6S', '5H', '2H', '2D', 'KD', '9D', '7C', 'AS', 'JS']\n",
      "['AD', 'QH', 'TH', '9D', '8H', 'TS', '6D', '3S', 'AS', 'AC']\n",
      "['2H', '4S', '5C', '5S', 'TC', 'KC', 'JD', '6C', 'TS', '3C']\n",
      "['QD', 'AS', '6H', 'JS', '2C', '3D', '9H', 'KC', '4H', '8S']\n",
      "['KD', '8S', '9S', '7C', '2S', '3S', '6D', '6S', '4H', 'KC']\n",
      "['3C', '8C', '2D', '7D', '4D', '9S', '4S', 'QH', '4H', 'JD']\n",
      "['8C', 'KC', '7S', 'TC', '2D', 'TS', '8H', 'QD', 'AC', '5C']\n",
      "['3D', 'KH', 'QD', '6C', '6S', 'AD', 'AS', '8H', '2H', 'QS']\n",
      "['6S', '8D', '4C', '8S', '6C', 'QH', 'TC', '6D', '7D', '9D']\n",
      "['2S', '8D', '8C', '4C', 'TS', '9S', '9D', '9C', 'AC', '3D']\n",
      "['3C', 'QS', '2S', '4H', 'JH', '3D', '2D', 'TD', '8S', '9H']\n",
      "['5H', 'QS', '8S', '6D', '3C', '8C', 'JD', 'AS', '7H', '7D']\n",
      "['6H', 'TD', '9D', 'AS', 'JH', '6C', 'QC', '9S', 'KD', 'JC']\n",
      "['AH', '8S', 'QS', '4D', 'TH', 'AC', 'TS', '3C', '3D', '5C']\n",
      "['5S', '4D', 'JS', '3D', '8H', '6C', 'TS', '3S', 'AD', '8C']\n",
      "['6D', '7C', '5D', '5H', '3S', '5C', 'JC', '2H', '5S', '3D']\n",
      "['5H', '6H', '2S', 'KS', '3D', '5D', 'JD', '7H', 'JS', '8H']\n",
      "['KH', '4H', 'AS', 'JS', 'QS', 'QC', 'TC', '6D', '7C', 'KS']\n",
      "['3D', 'QS', 'TS', '2H', 'JS', '4D', 'AS', '9S', 'JC', 'KD']\n",
      "['QD', '5H', '4D', '5D', 'KH', '7H', '3D', 'JS', 'KD', '4H']\n",
      "['2C', '9H', '6H', '5C', '9D', '6C', 'JC', '2D', 'TH', '9S']\n",
      "['7D', '6D', 'AS', 'QD', 'JH', '4D', 'JS', '7C', 'QS', '5C']\n",
      "['3H', 'KH', 'QD', 'AD', '8C', '8H', '3S', 'TH', '9D', '5S']\n",
      "['AH', '9S', '4D', '9D', '8S', '4H', 'JS', '3C', 'TC', '8D']\n",
      "['2C', 'KS', '5H', 'QD', '3S', 'TS', '9H', 'AH', 'AD', '8S']\n",
      "['5C', '7H', '5D', 'KD', '9H', '4D', '3D', '2D', 'KS', 'AD']\n",
      "['KS', 'KC', '9S', '6D', '2C', 'QH', '9D', '9H', 'TS', 'TC']\n",
      "['9C', '6H', '5D', 'QH', '4D', 'AD', '6D', 'QC', 'JS', 'KH']\n",
      "['9S', '3H', '9D', 'JD', '5C', '4D', '9H', 'AS', 'TC', 'QH']\n",
      "['2C', '6D', 'JC', '9C', '3C', 'AD', '9S', 'KH', '9D', '7D']\n",
      "['KC', '9C', '7C', 'JC', 'JS', 'KD', '3H', 'AS', '3C', '7D']\n",
      "['QD', 'KH', 'QS', '2C', '3S', '8S', '8H', '9H', '9C', 'JC']\n",
      "['QH', '8D', '3C', 'KC', '4C', '4H', '6D', 'AD', '9H', '9D']\n",
      "['3S', 'KS', 'QS', '7H', 'KH', '7D', '5H', '5D', 'JD', 'AD']\n",
      "['2H', '2C', '6H', 'TH', 'TC', '7D', '8D', '4H', '8C', 'AS']\n",
      "['4S', '2H', 'AC', 'QC', '3S', '6D', 'TH', '4D', '4C', 'KH']\n",
      "['4D', 'TC', 'KS', 'AS', '7C', '3C', '6D', '2D', '9H', '6C']\n",
      "['8C', 'TD', '5D', 'QS', '2C', '7H', '4C', '9C', '3H', '9H']\n",
      "['5H', 'JH', 'TS', '7S', 'TD', '6H', 'AD', 'QD', '8H', '8S']\n",
      "['5S', 'AD', '9C', '8C', '7C', '8D', '5H', '9D', '8S', '2S']\n",
      "['4H', 'KH', 'KS', '9S', '2S', 'KC', '5S', 'AD', '4S', '7D']\n",
      "['QS', '9C', 'QD', '6H', 'JS', '5D', 'AC', '8D', '2S', 'AS']\n",
      "['KH', 'AC', 'JC', '3S', '9D', '9S', '3C', '9C', '5S', 'JS']\n",
      "['AD', '3C', '3D', 'KS', '3S', '5C', '9C', '8C', 'TS', '4S']\n",
      "['JH', '8D', '5D', '6H', 'KD', 'QS', 'QD', '3D', '6C', 'KC']\n",
      "['8S', 'JD', '6C', '3S', '8C', 'TC', 'QC', '3C', 'QH', 'JS']\n",
      "['KC', 'JC', '8H', '2S', '9H', '9C', 'JH', '8S', '8C', '9S']\n",
      "['8S', '2H', 'QH', '4D', 'QC', '9D', 'KC', 'AS', 'TH', '3C']\n",
      "['8S', '6H', 'TH', '7C', '2H', '6S', '3C', '3H', 'AS', '7S']\n",
      "['QH', '5S', 'JS', '4H', '5H', 'TS', '8H', 'AH', 'AC', 'JC']\n",
      "['9D', '8H', '2S', '4S', 'TC', 'JC', '3C', '7H', '3H', '5C']\n",
      "['3D', 'AD', '3C', '3S', '4C', 'QC', 'AS', '5D', 'TH', '8C']\n",
      "['6S', '9D', '4C', 'JS', 'KH', 'AH', 'TS', 'JD', '8H', 'AD']\n",
      "['4C', '6S', '9D', '7S', 'AC', '4D', '3D', '3S', 'TC', 'JD']\n",
      "['AD', '7H', '6H', '4H', 'JH', 'KC', 'TD', 'TS', '7D', '6S']\n",
      "['8H', 'JH', 'TC', '3S', '8D', '8C', '9S', '2C', '5C', '4D']\n",
      "['2C', '9D', 'KC', 'QH', 'TH', 'QS', 'JC', '9C', '4H', 'TS']\n",
      "['QS', '3C', 'QD', '8H', 'KH', '4H', '8D', 'TD', '8S', 'AC']\n",
      "['7C', '3C', 'TH', '5S', '8H', '8C', '9C', 'JD', 'TC', 'KD']\n",
      "['QC', 'TC', 'JD', 'TS', '8C', '3H', '6H', 'KD', '7C', 'TD']\n",
      "['JH', 'QS', 'KS', '9C', '6D', '6S', 'AS', '9H', 'KH', '6H']\n",
      "['2H', '4D', 'AH', '2D', 'JH', '6H', 'TD', '5D', '4H', 'JD']\n",
      "['KD', '8C', '9S', 'JH', 'QD', 'JS', '2C', 'QS', '5C', '7C']\n",
      "['4S', 'TC', '7H', '8D', '2S', '6H', '7S', '9C', '7C', 'KC']\n",
      "['8C', '5D', '7H', '4S', 'TD', 'QC', '8S', 'JS', '4H', 'KS']\n",
      "['AD', '8S', 'JH', '6D', 'TD', 'KD', '7C', '6C', '2D', '7D']\n",
      "['JC', '6H', '6S', 'JS', '4H', 'QH', '9H', 'AH', '4C', '3C']\n",
      "['6H', '5H', 'AS', '7C', '7S', '3D', 'KH', 'KC', '5D', '5C']\n",
      "['JC', '3D', 'TD', 'AS', '4D', '6D', '6S', 'QH', 'JD', 'KS']\n",
      "['8C', '7S', '8S', 'QH', '2S', 'JD', '5C', '7H', 'AH', 'QD']\n",
      "['8S', '3C', '6H', '6C', '2C', '8D', 'TD', '7D', '4C', '4D']\n",
      "['5D', 'QH', 'KH', '7C', '2S', '7H', 'JS', '6D', 'QC', 'QD']\n",
      "['AD', '6C', '6S', '7D', 'TH', '6H', '2H', '8H', 'KH', '4H']\n",
      "['KS', 'JS', 'KD', '5D', '2D', 'KH', '7D', '9C', '8C', '3D']\n",
      "['9C', '6D', 'QD', '3C', 'KS', '3S', '7S', 'AH', 'JD', '2D']\n",
      "['AH', 'QH', 'AS', 'JC', '8S', '8H', '4C', 'KC', 'TH', '7D']\n",
      "['JC', '5H', 'TD', '7C', '5D', 'KD', '4C', 'AD', '8H', 'JS']\n",
      "['KC', '2H', 'AC', 'AH', '7D', 'JH', 'KH', '5D', '7S', '6D']\n",
      "['9S', '5S', '9C', '6H', '8S', 'TD', 'JD', '9H', '6C', 'AC']\n",
      "['7D', '8S', '6D', 'TS', 'KD', '7H', 'AC', '5S', '7C', '5D']\n",
      "['AH', 'QC', 'JC', '4C', 'TC', '8C', '2H', 'TS', '2C', '7D']\n",
      "['KD', 'KC', '6S', '3D', '7D', '2S', '8S', '3H', '5S', '5C']\n",
      "['8S', '5D', '8H', '4C', '6H', 'KC', '3H', '7C', '5S', 'KD']\n",
      "['JH', '8C', '3D', '3C', '6C', 'KC', 'TD', '7H', '7C', '4C']\n",
      "['JC', 'KC', '6H', 'TS', 'QS', 'TD', 'KS', '8H', '8C', '9S']\n",
      "['6C', '5S', '9C', 'QH', '7D', 'AH', 'KS', 'KC', '9S', '2C']\n",
      "['4D', '4S', '8H', 'TD', '9C', '3S', '7D', '9D', 'AS', 'TH']\n",
      "['6S', '7D', '3C', '6H', '5D', 'KD', '2C', '5C', '9D', '9C']\n",
      "['2H', 'KC', '3D', 'AD', '3H', 'QD', 'QS', '8D', 'JC', '4S']\n",
      "['8C', '3H', '9C', '7C', 'AD', '5D', 'JC', '9D', 'JS', 'AS']\n",
      "['5D', '9H', '5C', '7H', '6S', '6C', 'QC', 'JC', 'QD', '9S']\n",
      "['JC', 'QS', 'JH', '2C', '6S', '9C', 'QC', '3D', '4S', 'TC']\n",
      "['4H', '5S', '8D', '3D', '4D', '2S', 'KC', '2H', 'JS', '2C']\n",
      "['TD', '3S', 'TH', 'KD', '4D', '7H', 'JH', 'JS', 'KS', 'AC']\n",
      "['7S', '8C', '9S', '2D', '8S', '7D', '5C', 'AD', '9D', 'AS']\n",
      "['8C', '7H', '2S', '6C', 'TH', '3H', '4C', '3S', '8H', 'AC']\n",
      "['KD', '5H', 'JC', '8H', 'JD', '2D', '4H', 'TD', 'JH', '5C']\n",
      "['3D', 'AS', 'QH', 'KS', '7H', 'JD', '8S', '5S', '6D', '5H']\n",
      "['9S', '6S', 'TC', 'QS', 'JC', '5C', '5D', '9C', 'TH', '8C']\n",
      "['5H', '3S', 'JH', '9H', '2S', '2C', '6S', '7S', 'AS', 'KS']\n",
      "['8C', 'QD', 'JC', 'QS', 'TC', 'QC', '4H', 'AC', 'KH', '6C']\n",
      "['TC', '5H', '7D', 'JH', '4H', '2H', '8D', 'JC', 'KS', '4D']\n",
      "['5S', '9C', 'KH', 'KD', '9H', '5C', 'TS', '3D', '7D', '2D']\n",
      "['5H', 'AS', 'TC', '4D', '8C', '2C', 'TS', '9D', '3H', '8D']\n",
      "['6H', '8D', '2D', '9H', 'JD', '6C', '4S', '5H', '5S', '6D']\n",
      "['AD', '9C', 'JC', '7D', '6H', '9S', '6D', 'JS', '9H', '3C']\n",
      "['AD', 'JH', 'TC', 'QS', '4C', '5D', '9S', '7C', '9C', 'AH']\n",
      "['KD', '6H', '2H', 'TH', '8S', 'QD', 'KS', '9D', '9H', 'AS']\n",
      "['4H', '8H', '8D', '5H', '6C', 'AH', '5S', 'AS', 'AD', '8S']\n",
      "['QS', '5D', '4S', '2H', 'TD', 'KS', '5H', 'AC', '3H', 'JC']\n",
      "['9C', '7D', 'QD', 'KD', 'AC', '6D', '5H', 'QH', '6H', '5S']\n",
      "['KC', 'AH', 'QH', '2H', '7D', 'QS', '3H', 'KS', '7S', 'JD']\n",
      "['6C', '8S', '3H', '6D', 'KS', 'QD', '5D', '5C', '8H', 'TC']\n",
      "['9H', '4D', '4S', '6S', '9D', 'KH', 'QC', '4H', '6C', 'JD']\n",
      "['TD', '2D', 'QH', '4S', '6H', 'JH', 'KD', '3C', 'QD', '8C']\n",
      "['4S', '6H', '7C', 'QD', '9D', 'AS', 'AH', '6S', 'AD', '3C']\n",
      "['2C', 'KC', 'TH', '6H', '8D', 'AH', '5C', '6D', '8S', '5D']\n",
      "['TD', 'TS', '7C', 'AD', 'JC', 'QD', '9H', '3C', 'KC', '7H']\n",
      "['5D', '4D', '5S', '8H', '4H', '7D', '3H', 'JD', 'KD', '2D']\n",
      "['JH', 'TD', '6H', 'QS', '4S', 'KD', '5C', '8S', '7D', '8H']\n",
      "['AC', '3D', 'AS', '8C', 'TD', '7H', 'KH', '5D', '6C', 'JD']\n",
      "['9D', 'KS', '7C', '6D', 'QH', 'TC', 'JD', 'KD', 'AS', 'KC']\n",
      "['JH', '8S', '5S', '7S', '7D', 'AS', '2D', '3D', 'AD', '2H']\n",
      "['2H', '5D', 'AS', '3C', 'QD', 'KC', '6H', '9H', '9S', '2C']\n",
      "['9D', '5D', 'TH', '4C', 'JH', '3H', '8D', 'TC', '8H', '9H']\n",
      "['6H', 'KD', '2C', 'TD', '2H', '6C', '9D', '2D', 'JS', '8C']\n",
      "['KD', '7S', '3C', '7C', 'AS', 'QH', 'TS', 'AD', '8C', '2S']\n",
      "['QS', '8H', '6C', 'JS', '4C', '9S', 'QC', 'AD', 'TD', 'TS']\n",
      "['2H', '7C', 'TS', 'TC', '8C', '3C', '9H', '2D', '6D', 'JC']\n",
      "['TC', '2H', '8D', 'JH', 'KS', '6D', '3H', 'TD', 'TH', '8H']\n",
      "['9D', 'TD', '9H', 'QC', '5D', '6C', '8H', '8C', 'KC', 'TS']\n",
      "['2H', '8C', '3D', 'AH', '4D', 'TH', 'TC', '7D', '8H', 'KC']\n",
      "['TS', '5C', '2D', '8C', '6S', 'KH', 'AH', '5H', '6H', 'KC']\n",
      "['5S', '5D', 'AH', 'TC', '4C', 'JD', '8D', '6H', '8C', '6C']\n",
      "['KC', 'QD', '3D', '8H', '2D', 'JC', '9H', '4H', 'AD', '2S']\n",
      "['TD', '6S', '7D', 'JS', 'KD', '4H', 'QS', '2S', '3S', '8C']\n",
      "['4C', '9H', 'JH', 'TS', '3S', '4H', 'QC', '5S', '9S', '9C']\n",
      "['2C', 'KD', '9H', 'JS', '9S', '3H', 'JC', 'TS', '5D', 'AC']\n",
      "['AS', '2H', '5D', 'AD', '5H', 'JC', '7S', 'TD', 'JS', '4C']\n",
      "['2D', '4S', '8H', '3D', '7D', '2C', 'AD', 'KD', '9C', 'TS']\n",
      "['7H', 'QD', 'JH', '5H', 'JS', 'AC', '3D', 'TH', '4C', '8H']\n",
      "['6D', 'KH', 'KC', 'QD', '5C', 'AD', '7C', '2D', '4H', 'AC']\n",
      "['3D', '9D', 'TC', '8S', 'QD', '2C', 'JC', '4H', 'JD', 'AH']\n",
      "['6C', 'TD', '5S', 'TC', '8S', 'AH', '2C', '5D', 'AS', 'AC']\n",
      "['TH', '7S', '3D', 'AS', '6C', '4C', '7H', '7D', '4H', 'AH']\n",
      "['5C', '2H', 'KS', '6H', '7S', '4H', '5H', '3D', '3C', '7H']\n",
      "['3C', '9S', 'AC', '7S', 'QH', '2H', '3D', '6S', '3S', '3H']\n",
      "['2D', '3H', 'AS', '2C', '6H', 'TC', 'JS', '6S', '9C', '6C']\n",
      "['QH', 'KD', 'QD', '6D', 'AC', '6H', 'KH', '2C', 'TS', '8C']\n",
      "['8H', '7D', '3S', '9H', '5D', '3H', '4S', 'QC', '9S', '5H']\n",
      "['2D', '9D', '7H', '6H', '3C', '8S', '5H', '4D', '3S', '4S']\n",
      "['KD', '9S', '4S', 'TC', '7S', 'QC', '3S', '8S', '2H', '7H']\n",
      "['TC', '3D', '8C', '3H', '6C', '2H', '6H', 'KS', 'KD', '4D']\n",
      "['KC', '3D', '9S', '3H', 'JS', '4S', '8H', '2D', '6C', '8S']\n",
      "['6H', 'QS', '6C', 'TC', 'QD', '9H', '7D', '7C', '5H', '4D']\n",
      "['TD', '9D', '8D', '6S', '6C', 'TC', '5D', 'TS', 'JS', '8H']\n",
      "['4H', 'KC', 'JD', '9H', 'TC', '2C', '6S', '5H', '8H', 'AS']\n",
      "['JS', '9C', '5C', '6S', '9D', 'JD', '8H', 'KC', '4C', '6D']\n",
      "['4D', '8D', '8S', '6C', '7C', '6H', '7H', '8H', '5C', 'KC']\n",
      "['TC', '3D', 'JC', '6D', 'KS', '9S', '6H', '7S', '9C', '2C']\n",
      "['6C', '3S', 'KD', '5H', 'TS', '7D', '9H', '9S', '6H', 'KH']\n",
      "['3D', 'QD', '4C', '6H', 'TS', 'AC', '3S', '5C', '2H', 'KD']\n",
      "['4C', 'AS', 'JS', '9S', '7C', 'TS', '7H', '9H', 'JC', 'KS']\n",
      "['4H', '8C', 'JD', '3H', '6H', 'AD', '9S', '4S', '5S', 'KS']\n",
      "['4C', '2C', '7D', '3D', 'AS', '9C', '2S', 'QS', 'KC', '6C']\n",
      "['8S', '5H', '3D', '2S', 'AC', '9D', '6S', '3S', '4D', 'TD']\n",
      "['QD', 'TH', '7S', 'TS', '3D', 'AC', '7H', '6C', '5D', 'QC']\n",
      "['TC', 'QD', 'AD', '9C', 'QS', '5C', '8D', 'KD', '3D', '3C']\n",
      "['9D', '8H', 'AS', '3S', '7C', '8S', 'JD', '2D', '8D', 'KC']\n",
      "['4C', 'TH', 'AC', 'QH', 'JS', '8D', '7D', '7S', '9C', 'KH']\n",
      "['9D', '8D', '4C', 'JH', '2C', '2S', 'QD', 'KD', 'TS', '4H']\n",
      "['4D', '6D', '5D', '2D', 'JH', '3S', '8S', '3H', 'TC', 'KH']\n",
      "['AD', '4D', '2C', 'QS', '8C', 'KD', 'JH', 'JD', 'AH', '5C']\n",
      "['5C', '6C', '5H', '2H', 'JH', '4H', 'KS', '7C', 'TC', '3H']\n",
      "['3C', '4C', 'QC', '5D', 'JH', '9C', 'QD', 'KH', '8D', 'TC']\n",
      "['3H', '9C', 'JS', '7H', 'QH', 'AS', '7C', '9H', '5H', 'JC']\n",
      "['2D', '5S', 'QD', '4S', '3C', 'KC', '6S', '6C', '5C', '4C']\n",
      "['5D', 'KH', '2D', 'TS', '8S', '9C', 'AS', '9S', '7C', '4C']\n",
      "['7C', 'AH', '8C', '8D', '5S', 'KD', 'QH', 'QS', 'JH', '2C']\n",
      "['8C', '9D', 'AH', '2H', 'AC', 'QC', '5S', '8H', '7H', '2C']\n",
      "['QD', '9H', '5S', 'QS', 'QC', '9C', '5H', 'JC', 'TH', '4H']\n",
      "['6C', '6S', '3H', '5H', '3S', '6H', 'KS', '8D', 'AC', '7S']\n",
      "['AC', 'QH', '7H', '8C', '4S', 'KC', '6C', '3D', '3S', 'TC']\n",
      "['9D', '3D', 'JS', 'TH', 'AC', '5H', '3H', '8S', '3S', 'TC']\n",
      "['QD', 'KH', 'JS', 'KS', '9S', 'QC', '8D', 'AH', '3C', 'AC']\n",
      "['5H', '6C', 'KH', '3S', '9S', 'JH', '2D', 'QD', 'AS', '8C']\n",
      "['6C', '4D', '7S', '7H', '5S', 'JC', '6S', '9H', '4H', 'JH']\n",
      "['AH', '5S', '6H', '9S', 'AD', '3S', 'TH', '2H', '9D', '8C']\n",
      "['4C', '8D', '9H', '7C', 'QC', 'AD', '4S', '9C', 'KC', '5S']\n",
      "['9D', '6H', '4D', 'TC', '4C', 'JH', '2S', '5D', '3S', 'AS']\n",
      "['2H', '6C', '7C', 'KH', '5C', 'AD', 'QS', 'TH', 'JD', '8S']\n",
      "['3S', '4S', '7S', 'AH', 'AS', 'KC', 'JS', '2S', 'AD', 'TH']\n",
      "['JS', 'KC', '2S', '7D', '8C', '5C', '9C', 'TS', '5H', '9D']\n",
      "['7S', '9S', '4D', 'TD', 'JH', 'JS', 'KH', '6H', '5D', '2C']\n",
      "['JD', 'JS', 'JC', 'TH', '2D', '3D', 'QD', '8C', 'AC', '5H']\n",
      "['7S', 'KH', '5S', '9D', '5D', 'TD', '4S', '6H', '3C', '2D']\n",
      "['4S', '5D', 'AC', '8D', '4D', '7C', 'AD', 'AS', 'AH', '9C']\n",
      "['6S', 'TH', 'TS', 'KS', '2C', 'QC', 'AH', 'AS', '3C', '4S']\n",
      "['2H', '8C', '3S', 'JC', '5C', '7C', '3H', '3C', 'KH', 'JH']\n",
      "['7S', '3H', 'JC', '5S', '6H', '4C', '2S', '4D', 'KC', '7H']\n",
      "['4D', '7C', '4H', '9S', '8S', '6S', 'AD', 'TC', '6C', 'JC']\n",
      "['KH', 'QS', '3S', 'TC', '4C', '8H', '8S', 'AC', '3C', 'TS']\n",
      "['QD', 'QS', 'TH', '3C', 'TS', '7H', '7D', 'AH', 'TD', 'JC']\n",
      "['TD', 'JD', 'QC', '4D', '9S', '7S', 'TS', 'AD', '7D', 'AC']\n",
      "['AH', '7H', '4S', '6D', '7C', '2H', '9D', 'KS', 'JC', 'TD']\n",
      "['7C', 'AH', 'JD', '4H', '6D', 'QS', 'TS', '2H', '2C', '5C']\n",
      "['TC', 'KC', '8C', '9S', '4C', 'JS', '3C', 'JC', '6S', 'AH']\n",
      "['AS', '7D', 'QC', '3D', '5S', 'JC', 'JD', '9D', 'TD', 'KH']\n",
      "['TH', '3C', '2S', '6H', 'AH', 'AC', '5H', '5C', '7S', '8H']\n",
      "['QC', '2D', 'AC', 'QD', '2S', '3S', 'JD', 'QS', '6S', '8H']\n",
      "['KC', '4H', '3C', '9D', 'JS', '6H', '3S', '8S', 'AS', '8C']\n",
      "['7H', 'KC', '7D', 'JD', '2H', 'JC', 'QH', '5S', '3H', 'QS']\n",
      "['9H', 'TD', '3S', '8H', '7S', 'AC', '5C', '6C', 'AH', '7C']\n",
      "['8D', '9H', 'AH', 'JD', 'TD', 'QS', '7D', '3S', '9C', '8S']\n",
      "['AH', 'QH', '3C', 'JD', 'KC', '4S', '5S', '5D', 'TD', 'KS']\n",
      "['9H', '7H', '6S', 'JH', 'TH', '4C', '7C', 'AD', '5C', '2D']\n",
      "['7C', 'KD', '5S', 'TC', '9D', '6S', '6C', '5D', '2S', 'TH']\n",
      "['KC', '9H', '8D', '5H', '7H', '4H', 'QC', '3D', '7C', 'AS']\n",
      "['6S', '8S', 'QC', 'TD', '4S', '5C', 'TH', 'QS', 'QD', '2S']\n",
      "['8S', '5H', 'TH', 'QC', '9H', '6S', 'KC', '7D', '7C', '5C']\n",
      "['7H', 'KD', 'AH', '4D', 'KH', '5C', '4S', '2D', 'KC', 'QH']\n",
      "['6S', '2C', 'TD', 'JC', 'AS', '4D', '6C', '8C', '4H', '5S']\n",
      "['JC', 'TC', 'JD', '5S', '6S', '8D', 'AS', '9D', 'AD', '3S']\n",
      "['6D', '6H', '5D', '5S', 'TC', '3D', '7D', 'QS', '9D', 'QD']\n",
      "['4S', '6C', '8S', '3S', '7S', 'AD', 'KS', '2D', '7D', '7C']\n",
      "['KC', 'QH', 'JC', 'AC', 'QD', '5D', '8D', 'QS', '7H', '7D']\n",
      "['JS', 'AH', '8S', '5H', '3D', 'TD', '3H', '4S', '6C', 'JH']\n",
      "['4S', 'QS', '7D', 'AS', '9H', 'JS', 'KS', '6D', 'TC', '5C']\n",
      "['2D', '5C', '6H', 'TC', '4D', 'QH', '3D', '9H', '8S', '6C']\n",
      "['6D', '7H', 'TC', 'TH', '5S', 'JD', '5C', '9C', 'KS', 'KD']\n",
      "['8D', 'TD', 'QH', '6S', '4S', '6C', '8S', 'KC', '5C', 'TC']\n",
      "['5S', '3D', 'KS', 'AC', '4S', '7D', 'QD', '4C', 'TH', '2S']\n",
      "['TS', '8H', '9S', '6S', '7S', 'QH', '3C', 'AH', '7H', '8C']\n",
      "['4C', '8C', 'TS', 'JS', 'QC', '3D', '7D', '5D', '7S', 'JH']\n",
      "['8S', '7S', '9D', 'QC', 'AC', '7C', '6D', '2H', 'JH', 'KC']\n",
      "['JS', 'KD', '3C', '6S', '4S', '7C', 'AH', 'QC', 'KS', '5H']\n",
      "['KS', '6S', '4H', 'JD', 'QS', 'TC', '8H', 'KC', '6H', 'AS']\n",
      "['KH', '7C', 'TC', '6S', 'TD', 'JC', '5C', '7D', 'AH', '3S']\n",
      "['3H', '4C', '4H', 'TC', 'TH', '6S', '7H', '6D', '9C', 'QH']\n",
      "['7D', '5H', '4S', '8C', 'JS', '4D', '3D', '8S', 'QH', 'KC']\n",
      "['3H', '6S', 'AD', '7H', '3S', 'QC', '8S', '4S', '7S', 'JS']\n",
      "['3S', 'JD', 'KH', 'TH', '6H', 'QS', '9C', '6C', '2D', 'QD']\n",
      "['4S', 'QH', '4D', '5H', 'KC', '7D', '6D', '8D', 'TH', '5S']\n",
      "['TD', 'AD', '6S', '7H', 'KD', 'KH', '9H', '5S', 'KC', 'JC']\n",
      "['3H', 'QC', 'AS', 'TS', '4S', 'QD', 'KS', '9C', '7S', 'KC']\n",
      "['TS', '6S', 'QC', '6C', 'TH', 'TC', '9D', '5C', '5D', 'KD']\n",
      "['JS', '3S', '4H', 'KD', '4C', 'QD', '6D', '9S', 'JC', '9D']\n",
      "['8S', 'JS', '6D', '4H', 'JH', '6H', '6S', '6C', 'KS', 'KH']\n",
      "['AC', '7D', '5D', 'TC', '9S', 'KH', '6S', 'QD', '6H', 'AS']\n",
      "['AS', '7H', '6D', 'QH', '8D', 'TH', '2S', 'KH', '5C', '5H']\n",
      "['4C', '7C', '3D', 'QC', 'TC', '4S', 'KH', '8C', '2D', 'JS']\n",
      "['6H', '5D', '7S', '5H', '9C', '9H', 'JH', '8S', 'TH', '7H']\n",
      "['AS', 'JS', '2S', 'QD', 'KH', '8H', '4S', 'AC', '8D', '8S']\n",
      "['3H', '4C', 'TD', 'KD', '8C', 'JC', '5C', 'QS', '2D', 'JD']\n",
      "['TS', '7D', '5D', '6C', '2C', 'QS', '2H', '3C', 'AH', 'KS']\n",
      "['4S', '7C', '9C', '7D', 'JH', '6C', '5C', '8H', '9D', 'QD']\n",
      "['2S', 'TD', '7S', '6D', '9C', '9S', 'QS', 'KH', 'QH', '5C']\n",
      "['JC', '6S', '9C', 'QH', 'JH', '8D', '7S', 'JS', 'KH', '2H']\n",
      "['8D', '5H', 'TH', 'KC', '4D', '4S', '3S', '6S', '3D', 'QS']\n",
      "['2D', 'JD', '4C', 'TD', '7C', '6D', 'TH', '7S', 'JC', 'AH']\n",
      "['QS', '7S', '4C', 'TH', '9D', 'TS', 'AD', '4D', '3H', '6H']\n",
      "['2D', '3H', '7D', 'JD', '3D', 'AS', '2S', '9C', 'QC', '8S']\n",
      "['4H', '9H', '9C', '2C', '7S', 'JH', 'KD', '5C', '5D', '6H']\n",
      "['TC', '9H', '8H', 'JC', '3C', '9S', '8D', 'KS', 'AD', 'KC']\n",
      "['TS', '5H', 'JD', 'QS', 'QH', 'QC', '8D', '5D', 'KH', 'AH']\n",
      "['5D', 'AS', '8S', '6S', '4C', 'AH', 'QC', 'QD', 'TH', '7H']\n",
      "['3H', '4H', '7D', '6S', '4S', '9H', 'AS', '8H', 'JS', '9D']\n",
      "['JD', '8C', '2C', '9D', '7D', '5H', '5S', '9S', 'JC', 'KD']\n",
      "['KD', '9C', '4S', 'QD', 'AH', '7C', 'AD', '9D', 'AC', 'TD']\n",
      "['6S', '4H', '4S', '9C', '8D', 'KS', 'TC', '9D', 'JH', '7C']\n",
      "['5S', 'JC', '5H', '4S', 'QH', 'AC', '2C', 'JS', '2S', '9S']\n",
      "['8C', '5H', 'AS', 'QD', 'AD', '5C', '7D', '8S', 'QC', 'TD']\n",
      "['JC', '4C', '8D', '5C', 'KH', 'QS', '4D', '6H', '2H', '2C']\n",
      "['TH', '4S', '2D', 'KC', '3H', 'QD', 'AC', '7H', 'AD', '9D']\n",
      "['KH', 'QD', 'AS', '8H', 'TH', 'KC', '8D', '7S', 'QH', '8C']\n",
      "['JC', '6C', '7D', '8C', 'KH', 'AD', 'QS', '2H', '6S', '2D']\n",
      "['JC', 'KH', '2D', '7D', 'JS', 'QC', '5H', '4C', '5D', 'AD']\n",
      "['TS', '3S', 'AD', '4S', 'TD', '2D', 'TH', '6S', '9H', 'JH']\n",
      "['9H', '2D', 'QS', '2C', '4S', '3D', 'KH', 'AS', 'AC', '9D']\n",
      "['KH', '6S', '8H', '4S', 'KD', '7D', '9D', 'TS', 'QD', 'QC']\n",
      "['JH', '5H', 'AH', 'KS', 'AS', 'AD', 'JC', 'QC', '5S', 'KH']\n",
      "['5D', '7D', '6D', 'KS', 'KD', '3D', '7C', '4D', 'JD', '3S']\n",
      "['AC', 'JS', '8D', '5H', '9C', '3H', '4H', '4D', 'TS', '2C']\n",
      "['6H', 'KS', 'KH', '9D', '7C', '2S', '6S', '8S', '2H', '3D']\n",
      "['6H', 'AC', 'JS', '7S', '3S', 'TD', '8H', '3H', '4H', 'TH']\n",
      "['9H', 'TC', 'QC', 'KC', '5C', 'KS', '6H', '4H', 'AC', '8S']\n",
      "['TC', '7D', 'QH', '4S', 'JC', 'TS', '6D', '6C', 'AC', 'KH']\n",
      "['QH', '7D', '7C', 'JH', 'QS', 'QD', 'TH', '3H', '5D', 'KS']\n",
      "['3D', '5S', '8D', 'JS', '4C', '2C', 'KS', '7H', '9C', '4H']\n",
      "['5H', '8S', '4H', 'TD', '2C', '3S', 'QD', 'QC', '3H', 'KC']\n",
      "['QC', 'JS', 'KD', '9C', 'AD', '5S', '9D', '7D', '7H', 'TS']\n",
      "['8C', 'JC', 'KH', '7C', '7S', '6C', 'TS', '2C', 'QD', 'TH']\n",
      "['5S', '9D', 'TH', '3C', '7S', 'QH', '8S', '9C', '2H', '5H']\n",
      "['5D', '9H', '6H', '2S', 'JS', 'KH', '3H', '7C', '2H', '5S']\n",
      "['JD', '5D', '5S', '2C', 'TC', '2S', '6S', '6C', '3C', '8S']\n",
      "['4D', 'KH', '8H', '4H', '2D', 'KS', '3H', '5C', '2S', '9H']\n",
      "['3S', '2D', 'TD', '7H', '8S', '6H', 'JD', 'KC', '9C', '8D']\n",
      "['6S', 'QD', 'JH', '7C', '9H', '5H', '8S', '8H', 'TH', 'TD']\n",
      "['QS', '7S', 'TD', '7D', 'TS', 'JC', 'KD', '7C', '3C', '2C']\n",
      "['3C', 'JD', '8S', '4H', '2D', '2S', 'TD', 'AS', '4D', 'AC']\n",
      "['AH', 'KS', '6C', '4C', '4S', '7D', '8C', '9H', '6H', 'AS']\n",
      "['5S', '3C', '9S', '2C', 'QS', 'KD', '4D', '4S', 'AC', '5D']\n",
      "['2D', 'TS', '2C', 'JS', 'KH', 'QH', '5D', '8C', 'AS', 'KC']\n",
      "['KD', '3H', '6C', 'TH', '8S', '7S', 'KH', '6H', '9S', 'AC']\n",
      "['6H', '7S', '6C', 'QS', 'AH', '2S', '2H', '4H', '5D', '5H']\n",
      "['5H', 'JC', 'QD', '2C', '2S', 'JD', 'AS', 'QC', '6S', '7D']\n",
      "['6C', 'TC', 'AS', 'KD', '8H', '9D', '2C', '7D', 'JH', '9S']\n",
      "['2H', '4C', '6C', 'AH', '8S', 'TD', '3H', 'TH', '7C', 'TS']\n",
      "['KD', '4S', 'TS', '6C', 'QH', '8D', '9D', '9C', 'AH', '7D']\n",
      "['6D', 'JS', '5C', 'QD', 'QC', '9C', '5D', '8C', '2H', 'KD']\n",
      "['3C', 'QH', 'JH', 'AD', '6S', 'AH', 'KC', '8S', '6D', '6H']\n",
      "['3D', '7C', '4C', '7S', '5S', '3S', '6S', '5H', 'JC', '3C']\n",
      "['QH', '7C', '5H', '3C', '3S', '8C', 'TS', '4C', 'KD', '9C']\n",
      "['QD', '3S', '7S', '5H', '7H', 'QH', 'JC', '7C', '8C', 'KD']\n",
      "['3C', 'KD', 'KH', '2S', '4C', 'TS', 'AC', '6S', '2C', '7C']\n",
      "['2C', 'KH', '3C', '4C', '6H', '4D', '5H', '5S', '7S', 'QD']\n",
      "['4D', '7C', '8S', 'QD', 'TS', '9D', 'KS', '6H', 'KD', '3C']\n",
      "['QS', '4D', 'TS', '7S', '4C', '3H', 'QD', '8D', '9S', 'TC']\n",
      "['TS', 'QH', 'AC', '6S', '3C', '9H', '9D', 'QS', '8S', '6H']\n",
      "['3S', '7S', '5D', '4S', 'JS', '2D', '6C', 'QH', '6S', 'TH']\n",
      "['4C', '4H', 'AS', 'JS', '5D', '3D', 'TS', '9C', 'AC', '8S']\n",
      "['6S', '9C', '7C', '3S', '5C', 'QS', 'AD', 'AS', '6H', '3C']\n",
      "['9S', '8C', '7H', '3H', '6S', '7C', 'AS', '9H', 'JD', 'KH']\n",
      "['3D', '3H', '7S', '4D', '6C', '7C', 'AC', '2H', '9C', 'TH']\n",
      "['4H', '5S', '3H', 'AC', 'TC', 'TH', '9C', '9H', '9S', '8D']\n",
      "['8D', '9H', '5H', '4D', '6C', '2H', 'QD', '6S', '5D', '3S']\n",
      "['4C', '5C', 'JD', 'QS', '4D', '3H', 'TH', 'AC', 'QH', '8C']\n",
      "['QC', '5S', '3C', '7H', 'AD', '4C', 'KS', '4H', 'JD', '6D']\n",
      "['QS', 'AH', '3H', 'KS', '9H', '2S', 'JS', 'JH', '5H', '2H']\n",
      "['2H', '5S', 'TH', '6S', 'TS', '3S', 'KS', '3C', '5H', 'JS']\n",
      "['2D', '9S', '7H', '3D', 'KC', 'JH', '6D', '7D', 'JS', 'TD']\n",
      "['AC', 'JS', '8H', '2C', '8C', 'JH', 'JC', '2D', 'TH', '7S']\n",
      "['5D', '9S', '8H', '2H', '3D', 'TC', 'AH', 'JC', 'KD', '9C']\n",
      "['9D', 'QD', 'JC', '2H', '6D', 'KH', 'TS', '9S', 'QH', 'TH']\n",
      "['2C', '8D', '4S', 'JD', '5H', '3H', 'TH', 'TC', '9C', 'KC']\n",
      "['AS', '3D', '9H', '7D', '4D', 'TH', 'KH', '2H', '7S', '3H']\n",
      "['4H', '7S', 'KS', '2S', 'JS', 'TS', '8S', '2H', 'QD', '8D']\n",
      "['5S', '6H', 'JH', 'KS', '8H', '2S', 'QC', 'AC', '6S', '3S']\n",
      "['JC', 'AS', 'AD', 'QS', '8H', '6C', 'KH', '4C', '4D', 'QD']\n",
      "['2S', '3D', 'TS', 'TD', '9S', 'KS', '6S', 'QS', '5C', '8D']\n",
      "['3C', '6D', '4S', 'QC', 'KC', 'JH', 'QD', 'TH', 'KH', 'AD']\n",
      "['9H', 'AH', '4D', 'KS', '2S', '8D', 'JH', 'JC', '7C', 'QS']\n",
      "['2D', '6C', 'TH', '3C', '8H', 'QD', 'QH', '2S', '3S', 'KS']\n",
      "['6H', '5D', '9S', '4C', 'TS', 'TD', 'JS', 'QD', '9D', 'JD']\n",
      "['5H', '8H', 'KH', '8S', 'KS', '7C', 'TD', 'AD', '4S', 'KD']\n",
      "['2C', '7C', 'JC', '5S', 'AS', '6C', '7D', '8S', '5H', '9C']\n",
      "['6S', 'QD', '9S', 'TS', 'KH', 'QS', '5S', 'QH', '3C', 'KC']\n",
      "['7D', '3H', '3C', 'KD', '5C', 'AS', 'JH', '7H', '6H', 'JD']\n",
      "['9D', '5C', '9H', 'KC', '8H', 'KS', '4S', 'AD', '4D', '2S']\n",
      "['3S', 'JD', 'QD', '8D', '2S', '7C', '5S', '6S', '5H', 'TS']\n",
      "['6D', '9S', 'KC', 'TD', '3S', '6H', 'QD', 'JD', '5C', '8D']\n",
      "['5H', '9D', 'TS', 'KD', '8D', '6H', 'TD', 'QC', '4C', '7D']\n",
      "['6D', '4S', 'JD', '9D', 'AH', '9S', 'AS', 'TD', '9H', 'QD']\n",
      "['2D', '5S', '2H', '9C', '6H', '9S', 'TD', 'QC', '7D', 'TC']\n",
      "['3S', '2H', 'KS', 'TS', '2C', '9C', '8S', 'JS', '9D', '7D']\n",
      "['3C', 'KC', '6D', '5D', '6C', '6H', '8S', 'AS', '7S', 'QS']\n",
      "['JH', '9S', '2H', '8D', '4C', '8H', '9H', 'AD', 'TH', 'KH']\n",
      "['QC', 'AS', '2S', 'JS', '5C', '6H', 'KD', '3H', '7H', '2C']\n",
      "['QD', '8H', '2S', '8D', '3S', '6D', 'AH', '2C', 'TC', '5C']\n",
      "['JD', 'JS', 'TS', '8S', '3H', '5D', 'TD', 'KC', 'JC', '6H']\n",
      "['6S', 'QS', 'TC', '3H', '5D', 'AH', 'JC', '7C', '7D', '4H']\n",
      "['7C', '5D', '8H', '9C', '2H', '9H', 'JH', 'KH', '5S', '2C']\n",
      "['9C', '7H', '6S', 'TH', '3S', 'QC', 'QD', '4C', 'AC', 'JD']\n",
      "['2H', '5D', '9S', '7D', 'KC', '3S', 'QS', '2D', 'AS', 'KH']\n",
      "['2S', '4S', '2H', '7D', '5C', 'TD', 'TH', 'QH', '9S', '4D']\n",
      "['6D', '3S', 'TS', '6H', '4H', 'KS', '9D', '8H', '5S', '2D']\n",
      "['9H', 'KS', '4H', '3S', '5C', '5D', 'KH', '6H', '6S', 'JS']\n",
      "['KC', 'AS', '8C', '4C', 'JC', 'KH', 'QC', 'TH', 'QD', 'AH']\n",
      "['6S', 'KH', '9S', '2C', '5H', 'TC', '3C', '7H', 'JC', '4D']\n",
      "['JD', '4S', '6S', '5S', '8D', '7H', '7S', '4D', '4C', '2H']\n",
      "['7H', '9H', '5D', 'KH', '9C', '7C', 'TS', 'TC', '7S', '5H']\n",
      "['4C', '8D', 'QC', 'TS', '4S', '9H', '3D', 'AD', 'JS', '7C']\n",
      "['8C', 'QS', '5C', '5D', '3H', 'JS', 'AH', 'KC', '4S', '9D']\n",
      "['TS', 'JD', '8S', 'QS', 'TH', 'JH', 'KH', '2D', 'QD', 'JS']\n",
      "['JD', 'QC', '5D', '6S', '9H', '3S', '2C', '8H', '9S', 'TS']\n",
      "['2S', '4C', 'AD', '7H', 'JC', '5C', '2D', '6D', '4H', '3D']\n",
      "['7S', 'JS', '2C', '4H', '8C', 'AD', 'QD', '9C', '3S', 'TD']\n",
      "['JD', 'TS', '4C', '6H', '9H', '7D', 'QD', '6D', '3C', 'AS']\n",
      "['AS', '7C', '4C', '6S', '5D', '5S', '5C', 'JS', 'QC', '4S']\n",
      "['KD', '6S', '9S', '7C', '3C', '5S', '7D', 'JH', 'QD', 'JS']\n",
      "['4S', '7S', 'JH', '2C', '8S', '5D', '7H', '3D', 'QH', 'AD']\n",
      "['TD', '6H', '2H', '8D', '4H', '2D', '7C', 'AD', 'KH', '5D']\n",
      "['TS', '3S', '5H', '2C', 'QD', 'AH', '2S', '5C', 'KH', 'TD']\n",
      "['KC', '4D', '8C', '5D', 'AS', '6C', '2H', '2S', '9H', '7C']\n",
      "['KD', 'JS', 'QC', 'TS', 'QS', 'KH', 'JH', '2C', '5D', 'AD']\n",
      "['3S', '5H', 'KC', '6C', '9H', '3H', '2H', 'AD', '7D', '7S']\n",
      "['7S', 'JS', 'JH', 'KD', '8S', '7D', '2S', '9H', '7C', '2H']\n",
      "['9H', '2D', '8D', 'QC', '6S', 'AD', 'AS', '8H', '5H', '6C']\n",
      "['2S', '7H', '6C', '6D', '7D', '8C', '5D', '9D', 'JC', '3C']\n",
      "['7C', '9C', '7H', 'JD', '2H', 'KD', '3S', 'KH', 'AD', '4S']\n",
      "['QH', 'AS', '9H', '4D', 'JD', 'KS', 'KD', 'TS', 'KH', '5H']\n",
      "['4C', '8H', '5S', '3S', '3D', '7D', 'TD', 'AD', '7S', 'KC']\n",
      "['JS', '8S', '5S', 'JC', '8H', 'TH', '9C', '4D', '5D', 'KC']\n",
      "['7C', '5S', '9C', 'QD', '2C', 'QH', 'JS', '5H', '8D', 'KH']\n",
      "['TD', '2S', 'KS', '3D', 'AD', 'KC', '7S', 'TC', '3C', '5D']\n",
      "['4C', '2S', 'AD', 'QS', '6C', '9S', 'QD', 'TH', 'QH', '5C']\n",
      "['8C', 'AD', 'QS', '2D', '2S', 'KC', 'JD', 'KS', '6C', 'JC']\n",
      "['8D', '4D', 'JS', '2H', '5D', 'QD', '7S', '7D', 'QH', 'TS']\n",
      "['6S', '7H', '3S', '8C', '8S', '9D', 'QS', '8H', '6C', '9S']\n",
      "['4S', 'TC', '2S', '5C', 'QD', '4D', 'QS', '6D', 'TH', '6S']\n",
      "['3S', '5C', '9D', '6H', '8D', '4C', '7D', 'TC', '7C', 'TD']\n",
      "['AH', '6S', 'AS', '7H', '5S', 'KD', '3H', '5H', 'AC', '4C']\n",
      "['8D', '8S', 'AH', 'KS', 'QS', '2C', 'AD', '6H', '7D', '5D']\n",
      "['6H', '9H', '9S', '2H', 'QS', '8S', '9C', '5D', '2D', 'KD']\n",
      "['TS', 'QC', '5S', 'JH', '7D', '7S', 'TH', '9S', '9H', 'AC']\n",
      "['7H', '3H', '6S', 'KC', '4D', '6D', '5C', '4S', 'QD', 'TS']\n",
      "['TD', '2S', '7C', 'QD', '3H', 'JH', '9D', '4H', '7S', '7H']\n",
      "['KS', '3D', '4H', '5H', 'TC', '2S', 'AS', '2D', '6D', '7D']\n",
      "['8H', '3C', '7H', 'TD', '3H', 'AD', 'KC', 'TH', '9C', 'KH']\n",
      "['TC', '4C', '2C', '9S', '9D', '9C', '5C', '2H', 'JD', '3C']\n",
      "['3H', 'AC', 'TS', '5D', 'AD', '8D', '6H', 'QC', '6S', '8C']\n",
      "['2S', 'TS', '3S', 'JD', '7H', '8S', 'QH', '4C', '5S', '8D']\n",
      "['AC', '4S', '6C', '3C', 'KH', '3D', '7C', '2D', '8S', '2H']\n",
      "['4H', '6C', '8S', 'TH', '2H', '4S', '8H', '9S', '3H', '7S']\n",
      "['7C', '4C', '9C', '2C', '5C', 'AS', '5D', 'KD', '4D', 'QH']\n",
      "['9H', '4H', 'TS', 'AS', '7D', '8D', '5D', '9S', '8C', '2H']\n",
      "['QC', 'KD', 'AC', 'AD', '2H', '7S', 'AS', '3S', '2D', '9S']\n",
      "['2H', 'QC', '8H', 'TC', '6D', 'QD', 'QS', '5D', 'KH', '3C']\n",
      "['TH', 'JD', 'QS', '4C', '2S', '5S', 'AD', '7H', '3S', 'AS']\n",
      "['7H', 'JS', '3D', '6C', '3S', '6D', 'AS', '9S', 'AC', 'QS']\n",
      "['9C', 'TS', 'AS', '8C', 'TC', '8S', '6H', '9D', '8D', '6C']\n",
      "['4D', 'JD', '9C', 'KC', '7C', '6D', 'KS', '3S', '8C', 'AS']\n",
      "['3H', '6S', 'TC', '8D', 'TS', '3S', 'KC', '9S', '7C', 'AS']\n",
      "['8C', 'QC', '4H', '4S', '8S', '6C', '3S', 'TC', 'AH', 'AC']\n",
      "['4D', '7D', '5C', 'AS', '2H', '6S', 'TS', 'QC', 'AD', 'TC']\n",
      "['QD', 'QC', '8S', '4S', 'TH', '3D', 'AH', 'TS', 'JH', '4H']\n",
      "['5C', '2D', '9S', '2C', '3H', '3C', '9D', 'QD', 'QH', '7D']\n",
      "['KC', '9H', '6C', 'KD', '7S', '3C', '4D', 'AS', 'TC', '2D']\n",
      "['3D', 'JS', '4D', '9D', 'KS', '7D', 'TH', 'QC', '3H', '3C']\n",
      "['8D', '5S', '2H', '9D', '3H', '8C', '4C', '4H', '3C', 'TH']\n",
      "['JC', 'TH', '4S', '6S', 'JD', '2D', '4D', '6C', '3D', '4C']\n",
      "['TS', '3S', '2D', '4H', 'AC', '2C', '6S', '2H', 'JH', '6H']\n",
      "['TD', '8S', 'AD', 'TC', 'AH', 'AC', 'JH', '9S', '6S', '7S']\n",
      "['6C', 'KC', '4S', 'JD', '8D', '9H', '5S', '7H', 'QH', 'AH']\n",
      "['KD', '8D', 'TS', 'JH', '5C', '5H', '3H', 'AD', 'AS', 'JS']\n",
      "['2D', '4H', '3D', '6C', '8C', '7S', 'AD', '5D', '5C', '8S']\n",
      "['TD', '5D', '7S', '9C', '4S', '5H', '6C', '8C', '4C', '8S']\n",
      "['JS', 'QH', '9C', 'AS', '5C', 'QS', 'JC', '3D', 'QC', '7C']\n",
      "['JC', '9C', 'KH', 'JH', 'QS', 'QC', '2C', 'TS', '3D', 'AD']\n",
      "['5D', 'JH', 'AC', '5C', '9S', 'TS', '4C', 'JD', '8C', 'KS']\n",
      "['KC', 'AS', '2D', 'KH', '9H', '2C', '5S', '4D', '3D', '6H']\n",
      "['TH', 'AH', '2D', '8S', 'JC', '3D', '8C', 'QH', '7S', '3S']\n",
      "['8H', 'QD', '4H', 'JC', 'AS', 'KH', 'KS', '3C', '9S', '6D']\n",
      "['9S', 'QH', '7D', '9C', '4S', 'AC', '7H', 'KH', '4D', 'KD']\n",
      "['AH', 'AD', 'TH', '6D', '9C', '9S', 'KD', 'KS', 'QH', '4H']\n",
      "['QD', '6H', '9C', '7C', 'QS', '6D', '6S', '9D', '5S', 'JH']\n",
      "['AH', '8D', '5H', 'QD', '2H', 'JC', 'KS', '4H', 'KH', '5S']\n",
      "['5C', '2S', 'JS', '8D', '9C', '8C', '3D', 'AS', 'KC', 'AH']\n",
      "['JD', '9S', '2H', 'QS', '8H', '5S', '8C', 'TH', '5C', '4C']\n",
      "['QC', 'QS', '8C', '2S', '2C', '3S', '9C', '4C', 'KS', 'KH']\n",
      "['2D', '5D', '8S', 'AH', 'AD', 'TD', '2C', 'JS', 'KS', '8C']\n",
      "['TC', '5S', '5H', '8H', 'QC', '9H', '6H', 'JD', '4H', '9S']\n",
      "['3C', 'JH', '4H', '9H', 'AH', '4S', '2H', '4C', '8D', 'AC']\n",
      "['8S', 'TH', '4D', '7D', '6D', 'QD', 'QS', '7S', 'TC', '7C']\n",
      "['KH', '6D', '2D', 'JD', '5H', 'JS', 'QD', 'JH', '4H', '4S']\n",
      "['9C', '7S', 'JH', '4S', '3S', 'TS', 'QC', '8C', 'TC', '4H']\n",
      "['QH', '9D', '4D', 'JH', 'QS', '3S', '2C', '7C', '6C', '2D']\n",
      "['4H', '9S', 'JD', '5C', '5H', 'AH', '9D', 'TS', '2D', '4C']\n",
      "['KS', 'JH', 'TS', '5D', '2D', 'AH', 'JS', '7H', 'AS', '8D']\n",
      "['JS', 'AH', '8C', 'AD', 'KS', '5S', '8H', '2C', '6C', 'TH']\n",
      "['2H', '5D', 'AD', 'AC', 'KS', '3D', '8H', 'TS', '6H', 'QC']\n",
      "['6D', '4H', 'TS', '9C', '5H', 'JS', 'JH', '6S', 'JD', '4C']\n",
      "['JH', 'QH', '4H', '2C', '6D', '3C', '5D', '4C', 'QS', 'KC']\n",
      "['6H', '4H', '6C', '7H', '6S', '2S', '8S', 'KH', 'QC', '8C']\n",
      "['3H', '3D', '5D', 'KS', '4H', 'TD', 'AD', '3S', '4D', 'TS']\n",
      "['5S', '7C', '8S', '7D', '2C', 'KS', '7S', '6C', '8C', 'JS']\n",
      "['5D', '2H', '3S', '7C', '5C', 'QD', '5H', '6D', '9C', '9H']\n",
      "['JS', '2S', 'KD', '9S', '8D', 'TD', 'TS', 'AC', '8C', '9D']\n",
      "['5H', 'QD', '2S', 'AC', '8C', '9H', 'KS', '7C', '4S', '3C']\n",
      "['KH', 'AS', '3H', '8S', '9C', 'JS', 'QS', '4S', 'AD', '4D']\n",
      "['AS', '2S', 'TD', 'AD', '4D', '9H', 'JC', '4C', '5H', 'QS']\n",
      "['5D', '7C', '4H', 'TC', '2D', '6C', 'JS', '4S', 'KC', '3S']\n",
      "['4C', '2C', '5D', 'AC', '9H', '3D', 'JD', '8S', 'QS', 'QH']\n",
      "['2C', '8S', '6H', '3C', 'QH', '6D', 'TC', 'KD', 'AC', 'AH']\n",
      "['QC', '6C', '3S', 'QS', '4S', 'AC', '8D', '5C', 'AD', 'KH']\n",
      "['5S', '4C', 'AC', 'KH', 'AS', 'QC', '2C', '5C', '8D', '9C']\n",
      "['8H', 'JD', '3C', 'KH', '8D', '5C', '9C', 'QD', 'QH', '9D']\n",
      "['7H', 'TS', '2C', '8C', '4S', 'TD', 'JC', '9C', '5H', 'QH']\n",
      "['JS', '4S', '2C', '7C', 'TH', '6C', 'AS', 'KS', '7S', 'JD']\n",
      "['JH', '7C', '9H', '7H', 'TC', '5H', '3D', '6D', '5D', '4D']\n",
      "['2C', 'QD', 'JH', '2H', '9D', '5S', '3D', 'TD', 'AD', 'KS']\n",
      "['JD', 'QH', '3S', '4D', 'TH', '7D', '6S', 'QS', 'KS', '4H']\n",
      "['TC', 'KS', '5S', '8D', '8H', 'AD', '2S', '2D', '4C', 'JH']\n",
      "['5S', 'JH', 'TC', '3S', '2D', 'QS', '9D', '4C', 'KD', '9S']\n",
      "['AC', 'KH', '3H', 'AS', '9D', 'KC', '9H', 'QD', '6C', '6S']\n",
      "['9H', '7S', '3D', '5C', '7D', 'KC', 'TD', '8H', '4H', '6S']\n",
      "['3C', '7H', '8H', 'TC', 'QD', '4D', '7S', '6S', 'QH', '6C']\n",
      "['6D', 'AD', '4C', 'QD', '6C', '5D', '7D', '9D', 'KS', 'TS']\n",
      "['JH', '2H', 'JD', '9S', '7S', 'TS', 'KH', '8D', '5D', '8H']\n",
      "['2D', '9S', '4C', '7D', '9D', '5H', 'QD', '6D', 'AC', '6S']\n",
      "['7S', '6D', 'JC', 'QD', 'JH', '4C', '6S', 'QS', '2H', '7D']\n",
      "['8C', 'TD', 'JH', 'KD', '2H', '5C', 'QS', '2C', 'JS', '7S']\n",
      "['TC', '5H', '4H', 'JH', 'QD', '3S', '5S', '5D', '8S', 'KH']\n",
      "['KS', 'KH', '7C', '2C', '5D', 'JH', '6S', '9C', '6D', 'JC']\n",
      "['5H', 'AH', 'JD', '9C', 'JS', 'KC', '2H', '6H', '4D', '5S']\n",
      "['AS', '3C', 'TH', 'QC', '6H', '9C', '8S', '8C', 'TD', '7C']\n",
      "['KC', '2C', 'QD', '9C', 'KH', '4D', '7S', '3C', 'TS', '9H']\n",
      "['9C', 'QC', '2S', 'TS', '8C', 'TD', '9S', 'QD', '3S', '3C']\n",
      "['4D', '9D', 'TH', 'JH', 'AH', '6S', '2S', 'JD', 'QH', 'JS']\n",
      "['QD', '9H', '6C', 'KD', '7D', '7H', '5D', '6S', '8H', 'AH']\n",
      "['8H', '3C', '4S', '2H', '5H', 'QS', 'QH', '7S', '4H', 'AC']\n",
      "['QS', '3C', '7S', '9S', '4H', '3S', 'AH', 'KS', '9D', '7C']\n",
      "['AD', '5S', '6S', '2H', '2D', '5H', 'TC', '4S', '3C', '8C']\n",
      "['QH', 'TS', '6S', '4D', 'JS', 'KS', 'JH', 'AS', '8S', '6D']\n",
      "['2C', '8S', '2S', 'TD', '5H', 'AS', 'TC', 'TS', '6C', 'KC']\n",
      "['KC', 'TS', '8H', '2H', '3H', '7C', '4C', '5S', 'TH', 'TD']\n",
      "['KD', 'AD', 'KH', '7H', '7S', '5D', '5H', '5S', '2D', '9C']\n",
      "['AD', '9S', '3D', '7S', '8C', 'QC', '7C', '9C', 'KD', 'KS']\n",
      "['3C', 'QC', '9S', '8C', '4D', '5C', 'AS', 'QD', '6C', '2C']\n",
      "['2H', 'KC', '8S', 'JD', '7S', 'AC', '8D', '5C', '2S', '4D']\n",
      "['9D', 'QH', '3D', '2S', 'TC', '3S', 'KS', '3C', '9H', 'TD']\n",
      "['KD', '6S', 'AC', '2C', '7H', '5H', '3S', '6C', '6H', '8C']\n",
      "['QH', 'TC', '8S', '6S', 'KH', 'TH', '4H', '5D', 'TS', '4D']\n",
      "['8C', 'JS', '4H', '6H', '2C', '2H', '7D', 'AC', 'QD', '3D']\n",
      "['QS', 'KC', '6S', '2D', '5S', '4H', 'TD', '3H', 'JH', '4C']\n",
      "['7S', '5H', '7H', '8H', 'KH', '6H', 'QS', 'TH', 'KD', '7D']\n",
      "['5H', 'AD', 'KD', '7C', 'KH', '5S', 'TD', '6D', '3C', '6C']\n",
      "['8C', '9C', '5H', 'JD', '7C', 'KC', 'KH', '7H', '2H', '3S']\n",
      "['7S', '4H', 'AD', '4D', '8S', 'QS', 'TH', '3D', '7H', '5S']\n",
      "['8D', 'TC', 'KS', 'KD', '9S', '6D', 'AD', 'JD', '5C', '2S']\n",
      "['7H', '8H', '6C', 'QD', '2H', '6H', '9D', 'TC', '9S', '7C']\n",
      "['8D', '6D', '4C', '7C', '6C', '3C', 'TH', 'KH', 'JS', 'JH']\n",
      "['5S', '3S', '8S', 'JS', '9H', 'AS', 'AD', '8H', '7S', 'KD']\n",
      "['JH', '7C', '2C', 'KC', '5H', 'AS', 'AD', '9C', '9S', 'JS']\n",
      "['AD', 'AC', '2C', '6S', 'QD', '7C', '3H', 'TH', 'KS', 'KD']\n",
      "['9D', 'JD', '4H', '8H', '4C', 'KH', '7S', 'TS', '8C', 'KC']\n",
      "['3S', '5S', '2H', '7S', '6H', '7D', 'KS', '5C', '6D', 'AD']\n",
      "['5S', '8C', '9H', 'QS', '7H', '7S', '2H', '6C', '7D', 'TD']\n",
      "['QS', '5S', 'TD', 'AC', '9D', 'KC', '3D', 'TC', '2D', '4D']\n",
      "['TD', '2H', '7D', 'JD', 'QD', '4C', '7H', '5D', 'KC', '3D']\n",
      "['4C', '3H', '8S', 'KD', 'QH', '5S', 'QC', '9H', 'TC', '5H']\n",
      "['9C', 'QD', 'TH', '5H', 'TS', '5C', '9H', 'AH', 'QH', '2C']\n",
      "['4D', '6S', '3C', 'AC', '6C', '3D', '2C', '2H', 'TD', 'TH']\n",
      "['AC', '9C', '5D', 'QC', '4D', 'AD', '8D', '6D', '8C', 'KC']\n",
      "['AD', '3C', '4H', 'AC', '8D', '8H', '7S', '9S', 'TD', 'JC']\n",
      "['4H', '9H', 'QH', 'JS', '2D', 'TH', 'TD', 'TC', 'KD', 'KS']\n",
      "['5S', '6S', '9S', '8D', 'TH', 'AS', 'KH', '5H', '5C', '8S']\n",
      "['JD', '2S', '9S', '6S', '5S', '8S', '5D', '7S', '7H', '9D']\n",
      "['5D', '8C', '4C', '9D', 'AD', 'TS', '2C', '7D', 'KD', 'TC']\n",
      "['8S', 'QS', '4D', 'KC', '5C', '8D', '4S', 'KH', 'JD', 'KD']\n",
      "['AS', '5C', 'AD', 'QH', '7D', '2H', '9S', '7H', '7C', 'TC']\n",
      "['2S', '8S', 'JD', 'KH', '7S', '6C', '6D', 'AD', '5D', 'QC']\n",
      "['9H', '6H', '3S', '8C', '8H', 'AH', 'TC', '4H', 'JS', 'TD']\n",
      "['2C', 'TS', '4D', '7H', '2D', 'QC', '9C', '5D', 'TH', '7C']\n",
      "['6C', '8H', 'QC', '5D', 'TS', 'JH', '5C', '5H', '9H', '4S']\n",
      "['2D', 'QC', '7H', 'AS', 'JS', '8S', '2H', '4C', '4H', '8D']\n",
      "['JS', '6S', 'AC', 'KD', '3D', '3C', '4S', '7H', 'TH', 'KC']\n",
      "['QH', 'KH', '6S', 'QS', '5S', '4H', '3C', 'QD', '3S', '3H']\n",
      "['7H', 'AS', 'KH', '8C', '4H', '9C', '5S', '3D', '6S', 'TS']\n",
      "['9C', '7C', '3H', '5S', 'QD', '2C', '3D', 'AD', 'AC', '5H']\n",
      "['JH', 'TD', '2D', '4C', 'TS', '3H', 'KH', 'AD', '3S', '7S']\n",
      "['AS', '4C', '5H', '4D', '6S', 'KD', 'JC', '3C', '6H', '2D']\n",
      "['3H', '6S', '8C', '2D', 'TH', '4S', 'AH', 'QH', 'AD', '5H']\n",
      "['7C', '2S', '9H', '7H', 'KC', '5C', '6D', '5S', '3H', 'JC']\n",
      "['3C', 'TC', '9C', '4H', 'QD', 'TD', 'JH', '6D', '9H', '5S']\n",
      "['7C', '6S', '5C', '5D', '6C', '4S', '7H', '9H', '6H', 'AH']\n",
      "['AD', '2H', '7D', 'KC', '2C', '4C', '2S', '9S', '7H', '3S']\n",
      "['TH', '4C', '8S', '6S', '3S', 'AD', 'KS', 'AS', 'JH', 'TD']\n",
      "['5C', 'TD', '4S', '4D', 'AD', '6S', '5D', 'TC', '9C', '7D']\n",
      "['8H', '3S', '4D', '4S', '5S', '6H', '5C', 'AC', '3H', '3D']\n",
      "['9H', '3C', 'AC', '4S', 'QS', '8S', '9D', 'QH', '5H', '4D']\n",
      "['JC', '6C', '5H', 'TS', 'AC', '9C', 'JD', '8C', '7C', 'QD']\n",
      "['8S', '8H', '9C', 'JD', '2D', 'QC', 'QH', '6H', '3C', '8D']\n",
      "['KS', 'JS', '2H', '6H', '5H', 'QH', 'QS', '3H', '7C', '6D']\n",
      "['TC', '3H', '4S', '7H', 'QC', '2H', '3S', '8C', 'JS', 'KH']\n",
      "['AH', '8H', '5S', '4C', '9H', 'JD', '3H', '7S', 'JC', 'AC']\n",
      "['3C', '2D', '4C', '5S', '6C', '4S', 'QS', '3S', 'JD', '3D']\n",
      "['5H', '2D', 'TC', 'AH', 'KS', '6D', '7H', 'AD', '8C', '6H']\n",
      "['6C', '7S', '3C', 'JD', '7C', '8H', 'KS', 'KH', 'AH', '6D']\n",
      "['AH', '7D', '3H', '8H', '8S', '7H', 'QS', '5H', '9D', '2D']\n",
      "['JD', 'AC', '4H', '7S', '8S', '9S', 'KS', 'AS', '9D', 'QH']\n",
      "['7S', '2C', '8S', '5S', 'JH', 'QS', 'JC', 'AH', 'KD', '4C']\n",
      "['AH', '2S', '9H', '4H', '8D', 'TS', 'TD', '6H', 'QH', 'JD']\n",
      "['4H', 'JC', '3H', 'QS', '6D', '7S', '9C', '8S', '9D', '8D']\n",
      "['5H', 'TD', '4S', '9S', '4C', '8C', '8D', '7H', '3H', '3D']\n",
      "['QS', 'KH', '3S', '2C', '2S', '3C', '7S', 'TD', '4S', 'QD']\n",
      "['7C', 'TD', '4D', '5S', 'KH', 'AC', 'AS', '7H', '4C', '6C']\n",
      "['2S', '5H', '6D', 'JD', '9H', 'QS', '8S', '2C', '2H', 'TD']\n",
      "['2S', 'TS', '6H', '9H', '7S', '4H', 'JC', '4C', '5D', '5S']\n",
      "['2C', '5H', '7D', '4H', '3S', 'QH', 'JC', 'JS', '6D', '8H']\n",
      "['4C', 'QH', '7C', 'QD', '3S', 'AD', 'TH', '8S', '5S', 'TS']\n",
      "['9H', 'TC', '2S', 'TD', 'JC', '7D', '3S', '3D', 'TH', 'QH']\n",
      "['7D', '4C', '8S', '5C', 'JH', '8H', '6S', '3S', 'KC', '3H']\n",
      "['JC', '3H', 'KH', 'TC', 'QH', 'TH', '6H', '2C', 'AC', '5H']\n",
      "['QS', '2H', '9D', '2C', 'AS', '6S', '6C', '2S', '8C', '8S']\n",
      "['9H', '7D', 'QC', 'TH', '4H', 'KD', 'QS', 'AC', '7S', '3C']\n",
      "['4D', 'JH', '6S', '5S', '8H', 'KS', '9S', 'QC', '3S', 'AS']\n",
      "['JD', '2D', '6S', '7S', 'TC', '9H', 'KC', '3H', '7D', 'KD']\n",
      "['2H', 'KH', '7C', '4D', '4S', '3H', 'JS', 'QD', '7D', 'KC']\n",
      "['4C', 'JC', 'AS', '9D', '3C', 'JS', '6C', '8H', 'QD', '4D']\n",
      "['AH', 'JS', '3S', '6C', '4C', '3D', 'JH', '6D', '9C', '9H']\n",
      "['9H', '2D', '8C', '7H', '5S', 'KS', '6H', '9C', '2S', 'TC']\n",
      "['6C', '8C', 'AD', '7H', '6H', '3D', 'KH', 'AS', '5D', 'TH']\n",
      "['KS', '8C', '3S', 'TS', '8S', '4D', '5S', '9S', '6C', '4H']\n",
      "['9H', '4S', '4H', '5C', '7D', 'KC', '2D', '2H', '9D', 'JH']\n",
      "['5C', 'JS', 'TC', '9D', '9H', '5H', '7S', 'KH', 'JC', '6S']\n",
      "['7C', '9H', '8H', '4D', 'JC', 'KH', 'JD', '2H', 'TD', 'TC']\n",
      "['8H', '6C', '2H', '2C', 'KH', '6H', '9D', 'QS', 'QH', '5H']\n",
      "['AC', '7D', '2S', '3D', 'QD', 'JC', '2D', '8D', 'JD', 'JH']\n",
      "['2H', 'JC', '2D', '7H', '2C', '3C', '8D', 'KD', 'TD', '4H']\n",
      "['3S', '4H', '6D', '8D', 'TS', '3H', 'TD', '3D', '6H', 'TH']\n",
      "['JH', 'JC', '3S', 'AC', 'QH', '9H', '7H', '8S', 'QC', '2C']\n",
      "['7H', 'TD', 'QS', '4S', '8S', '9C', '2S', '5D', '4D', '2H']\n",
      "['3D', 'TS', '3H', '2S', 'QC', '8H', '6H', 'KC', 'JC', 'KS']\n",
      "['5D', 'JD', '7D', 'TC', '8C', '6C', '9S', '3D', '8D', 'AC']\n",
      "['8H', '6H', 'JH', '6C', '5D', '8D', '8S', '4H', 'AD', '2C']\n",
      "['9D', '4H', '2D', '2C', '3S', 'TS', 'AS', 'TC', '3C', '5D']\n",
      "['4D', 'TH', '5H', 'KS', 'QS', '6C', '4S', '2H', '3D', 'AD']\n",
      "['5C', 'KC', '6H', '2C', '5S', '3C', '4D', '2D', '9H', '9S']\n",
      "['JD', '4C', '3H', 'TH', 'QH', '9H', '5S', 'AH', '8S', 'AC']\n",
      "['7D', '9S', '6S', '2H', 'TD', '9C', '4H', '8H', 'QS', '4C']\n",
      "['3C', '6H', '5D', '4H', '8C', '9C', 'KC', '6S', 'QD', 'QS']\n",
      "['3S', '9H', 'KD', 'TC', '2D', 'JS', '8C', '6S', '4H', '4S']\n",
      "['2S', '4C', '8S', 'QS', '6H', 'KH', '3H', 'TH', '8C', '5D']\n",
      "['2C', 'KH', '5S', '3S', '7S', '7H', '6C', '9D', 'QD', '8D']\n",
      "['8H', 'KS', 'AC', '2D', 'KH', 'TS', '6C', 'JS', 'KC', '7H']\n",
      "['9C', 'KS', '5C', 'TD', 'QC', 'AH', '6C', '5H', '9S', '7C']\n",
      "['5D', '4D', '3H', '4H', '6S', '7C', '7S', 'AH', 'QD', 'TD']\n",
      "['2H', '7D', 'QC', '6S', 'TC', 'TS', 'AH', '7S', '9D', '3H']\n",
      "['TH', '5H', 'QD', '9S', 'KS', '7S', '7C', '6H', '8C', 'TD']\n",
      "['TH', '2D', '4D', 'QC', '5C', '7D', 'JD', 'AH', '9C', '4H']\n",
      "['4H', '3H', 'AH', '8D', '6H', 'QC', 'QH', '9H', '2H', '2C']\n",
      "['2D', 'AD', '4C', 'TS', '6H', '7S', 'TH', '4H', 'QS', 'TD']\n",
      "['3C', 'KD', '2H', '3H', 'QS', 'JD', 'TC', 'QC', '5D', '8H']\n",
      "['KS', 'JC', 'QD', 'TH', '9S', 'KD', '8D', '8C', '2D', '9C']\n",
      "['3C', 'QD', 'KD', '6D', '4D', '8D', 'AH', 'AD', 'QC', '8S']\n",
      "['8H', '3S', '9D', '2S', '3H', 'KS', '6H', '4C', '7C', 'KC']\n",
      "['TH', '9S', '5C', '3D', '7D', '6H', 'AC', '7S', '4D', '2C']\n",
      "['5C', '3D', 'JD', '4D', '2D', '6D', '5H', '9H', '4C', 'KH']\n",
      "['AS', '7H', 'TD', '6C', '2H', '3D', 'QD', 'KS', '4C', '4S']\n",
      "['JC', '3C', 'AC', '7C', 'JD', 'JS', '8H', '9S', 'QC', '5D']\n",
      "['JD', '6S', '5S', '2H', 'AS', '8C', '7D', '5H', 'JH', '3D']\n",
      "['8D', 'TC', '5S', '9S', '8S', '3H', 'JC', '5H', '7S', 'AS']\n",
      "['5C', 'TD', '3D', '7D', '4H', '8D', '7H', '4D', '5D', 'JS']\n",
      "['QS', '9C', 'KS', 'TD', '2S', '8S', '5C', '2H', '4H', 'AS']\n",
      "['TH', '7S', '4H', '7D', '3H', 'JD', 'KD', '5D', '2S', 'KC']\n",
      "['JD', '7H', '4S', '8H', '4C', 'JS', '6H', 'QH', '5S', '4H']\n",
      "['2C', 'QS', '8C', '5S', '3H', 'QC', '2S', '6C', 'QD', 'AD']\n",
      "['8C', '3D', 'JD', 'TC', '4H', '2H', 'AD', '5S', 'AC', '2S']\n",
      "['5D', '2C', 'JS', '2D', 'AD', '9D', '3D', '4C', '4S', 'JH']\n",
      "['8D', '5H', '5D', '6H', '7S', '4D', 'KS', '9D', 'TD', 'JD']\n",
      "['3D', '6D', '9C', '2S', 'AS', '7D', '5S', '5C', '8H', 'JD']\n",
      "['7C', '8S', '3S', '6S', '5H', 'JD', 'TC', 'AD', '7H', '7S']\n",
      "['2S', '9D', 'TS', '4D', 'AC', '8D', '6C', 'QD', 'JD', '3H']\n",
      "['9S', 'KH', '2C', '3C', 'AC', '3D', '5H', '6H', '8D', '5D']\n",
      "['KS', '3D', '2D', '6S', 'AS', '4C', '2S', '7C', '7H', 'KH']\n",
      "['AC', '2H', '3S', 'JC', '5C', 'QH', '4D', '2D', '5H', '7S']\n",
      "['TS', 'AS', 'JD', '8C', '6H', 'JC', '8S', '5S', '2C', '5D']\n",
      "['7S', 'QH', '7H', '6C', 'QC', '8H', '2D', '7C', 'JD', '2S']\n",
      "['2C', 'QD', '2S', '2H', 'JC', '9C', '5D', '2D', 'JD', 'JH']\n",
      "['7C', '5C', '9C', '8S', '7D', '6D', '8D', '6C', '9S', 'JH']\n",
      "['2C', 'AD', '6S', '5H', '3S', 'KS', '7S', '9D', 'KH', '4C']\n",
      "['7H', '6C', '2C', '5C', 'TH', '9D', '8D', '3S', 'QC', 'AH']\n",
      "['5S', 'KC', '6H', 'TC', '5H', '8S', 'TH', '6D', '3C', 'AH']\n",
      "['9C', 'KD', '4H', 'AD', 'TD', '9S', '4S', '7D', '6H', '5D']\n",
      "['7H', '5C', '5H', '6D', 'AS', '4C', 'KD', 'KH', '4H', '9D']\n",
      "['3C', '2S', '5C', '6C', 'JD', 'QS', '2H', '9D', '7D', '3H']\n",
      "['AC', '2S', '6S', '7S', 'JS', 'QD', '5C', 'QS', '6H', 'AD']\n",
      "['5H', 'TH', 'QC', '7H', 'TC', '3S', '7C', '6D', 'KC', '3D']\n",
      "['4H', '3D', 'QC', '9S', '8H', '2C', '3S', 'JC', 'KS', '5C']\n",
      "['4S', '6S', '2C', '6H', '8S', '3S', '3D', '9H', '3H', 'JS']\n",
      "['4S', '8C', '4D', '2D', '8H', '9H', '7D', '9D', 'AH', 'TS']\n",
      "['9S', '2C', '9H', '4C', '8D', 'AS', '7D', '3D', '6D', '5S']\n",
      "['6S', '4C', '7H', '8C', '3H', '5H', 'JC', 'AH', '9D', '9C']\n",
      "['2S', '7C', '5S', 'JD', '8C', '3S', '3D', '4D', '7D', '6S']\n",
      "['3C', 'KC', '4S', '5D', '7D', '3D', 'JD', '7H', '3H', '4H']\n",
      "['9C', '9H', '4H', '4D', 'TH', '6D', 'QD', '8S', '9S', '7S']\n",
      "['2H', 'AC', '8S', '4S', 'AD', '8C', '2C', 'AH', '7D', 'TC']\n",
      "['TS', '9H', '3C', 'AD', 'KS', 'TC', '3D', '8C', '8H', 'JD']\n",
      "['QC', '8D', '2C', '3C', '7D', '7C', 'JD', '9H', '9C', '6C']\n",
      "['AH', '6S', 'JS', 'JH', '5D', 'AS', 'QC', '2C', 'JD', 'TD']\n",
      "['9H', 'KD', '2H', '5D', '2D', '3S', '7D', 'TC', 'AH', 'TS']\n",
      "['TD', '8H', 'AS', '5D', 'AH', 'QC', 'AC', '6S', 'TC', '5H']\n",
      "['KS', '4S', '7H', '4D', '8D', '9C', 'TC', '2H', '6H', '3H']\n",
      "['3H', 'KD', '4S', 'QD', 'QH', '3D', '8H', '8C', 'TD', '7S']\n",
      "['8S', 'JD', 'TC', 'AH', 'JS', 'QS', '2D', 'KH', 'KS', '4D']\n",
      "['3C', 'AD', 'JC', 'KD', 'JS', 'KH', '4S', 'TH', '9H', '2C']\n",
      "['QC', '5S', 'JS', '9S', 'KS', 'AS', '7C', 'QD', '2S', 'JD']\n",
      "['KC', '5S', 'QS', '3S', '2D', 'AC', '5D', '9H', '8H', 'KS']\n",
      "['6H', '9C', 'TC', 'AD', '2C', '6D', '5S', 'JD', '6C', '7C']\n",
      "['QS', 'KH', 'TD', 'QD', '2C', '3H', '8S', '2S', 'QC', 'AH']\n",
      "['9D', '9H', 'JH', 'TC', 'QH', '3C', '2S', 'JS', '5C', '7H']\n",
      "['6C', '3S', '3D', '2S', '4S', 'QD', '2D', 'TH', '5D', '2C']\n",
      "['2D', '6H', '6D', '2S', 'JC', 'QH', 'AS', '7H', '4H', 'KH']\n",
      "['5H', '6S', 'KS', 'AD', 'TC', 'TS', '7C', 'AC', '4S', '4H']\n",
      "['AD', '3C', '4H', 'QS', '8C', '9D', 'KS', '2H', '2D', '4D']\n",
      "['4S', '9D', '6C', '6D', '9C', 'AC', '8D', '3H', '7H', 'KD']\n",
      "['JC', 'AH', '6C', 'TS', 'JD', '6D', 'AD', '3S', '5D', 'QD']\n",
      "['JC', 'JH', 'JD', '3S', '7S', '8S', 'JS', 'QC', '3H', '4S']\n",
      "['JD', 'TH', '5C', '2C', 'AD', 'JS', '7H', '9S', '2H', '7S']\n",
      "['8D', '3S', 'JH', '4D', 'QC', 'AS', 'JD', '2C', 'KC', '6H']\n",
      "['2C', 'AC', '5H', 'KD', '5S', '7H', 'QD', 'JH', 'AH', '2D']\n",
      "['JC', 'QH', '8D', '8S', 'TC', '5H', '5C', 'AH', '8C', '6C']\n",
      "['3H', 'JS', '8S', 'QD', 'JH', '3C', '4H', '6D', '5C', '3S']\n",
      "['6D', '4S', '4C', 'AH', '5H', '5S', '3H', 'JD', '7C', '8D']\n",
      "['8H', 'AH', '2H', '3H', 'JS', '3C', '7D', 'QC', '4H', 'KD']\n",
      "['6S', '2H', 'KD', '5H', '8H', '2D', '3C', '8S', '7S', 'QD']\n",
      "['2S', '7S', 'KC', 'QC', 'AH', 'TC', 'QS', '6D', '4C', '8D']\n",
      "['5S', '9H', '2C', '3S', 'QD', '7S', '6C', '2H', '7C', '9D']\n",
      "['3C', '6C', '5C', '5S', 'JD', 'JC', 'KS', '3S', '5D', 'TS']\n",
      "['7C', 'KS', '6S', '5S', '2S', '2D', 'TC', '2H', '5H', 'QS']\n",
      "['AS', '7H', '6S', 'TS', '5H', '9S', '9D', '3C', 'KD', '2H']\n",
      "['4S', 'JS', 'QS', '3S', '4H', '7C', '2S', 'AC', '6S', '9D']\n",
      "['8C', 'JH', '2H', '5H', '7C', '5D', 'QH', 'QS', 'KH', 'QC']\n",
      "['3S', 'TD', '3H', '7C', 'KC', '8D', '5H', '8S', 'KH', '8C']\n",
      "['4H', 'KH', 'JD', 'TS', '3C', '7H', 'AS', 'QC', 'JS', '5S']\n",
      "['AH', '9D', '2C', '8D', '4D', '2D', '6H', '6C', 'KC', '6S']\n",
      "['2S', '6H', '9D', '3S', '7H', '4D', 'KH', '8H', 'KD', '3D']\n",
      "['9C', 'TC', 'AC', 'JH', 'KH', '4D', 'JD', '5H', 'TD', '3S']\n",
      "['7S', '4H', '9D', 'AS', '4C', '7D', 'QS', '9S', '2S', 'KH']\n",
      "['3S', '8D', '8S', 'KS', '8C', 'JC', '5C', 'KH', '2H', '5D']\n",
      "['8S', 'QH', '2C', '4D', 'KC', 'JS', 'QC', '9D', 'AC', '6H']\n",
      "['8S', '8C', '7C', 'JS', 'JD', '6S', '4C', '9C', 'AC', '4S']\n",
      "['QH', '5D', '2C', '7D', 'JC', '8S', '2D', 'JS', 'JH', '4C']\n",
      "['JS', '4C', '7S', 'TS', 'JH', 'KC', 'KH', '5H', 'QD', '4S']\n",
      "['QD', '8C', '8D', '2D', '6S', 'TD', '9D', 'AC', 'QH', '5S']\n",
      "['QH', 'QC', 'JS', '3D', '3C', '5C', '4H', 'KH', '8S', '7H']\n",
      "['7C', '2C', '5S', 'JC', '8S', '3H', 'QC', '5D', '2H', 'KC']\n",
      "['5S', '8D', 'KD', '6H', '4H', 'QD', 'QH', '6D', 'AH', '3D']\n",
      "['7S', 'KS', '6C', '2S', '4D', 'AC', 'QS', '5H', 'TS', 'JD']\n",
      "['7C', '2D', 'TC', '5D', 'QS', 'AC', 'JS', 'QC', '6C', 'KC']\n",
      "['2C', 'KS', '4D', '3H', 'TS', '8S', 'AD', '4H', '7S', '9S']\n",
      "['QD', '9H', 'QH', '5H', '4H', '4D', 'KH', '3S', 'JC', 'AD']\n",
      "['4D', 'AC', 'KC', '8D', '6D', '4C', '2D', 'KH', '2C', 'JD']\n",
      "['2C', '9H', '2D', 'AH', '3H', '6D', '9C', '7D', 'TC', 'KS']\n",
      "['8C', '3H', 'KD', '7C', '5C', '2S', '4S', '5H', 'AS', 'AH']\n",
      "['TH', 'JD', '4H', 'KD', '3H', 'TC', '5C', '3S', 'AC', 'KH']\n",
      "['6D', '7H', 'AH', '7S', 'QC', '6H', '2D', 'TD', 'JD', 'AS']\n",
      "['JH', '5D', '7H', 'TC', '9S', '7D', 'JC', 'AS', '5S', 'KH']\n",
      "['2H', '8C', 'AD', 'TH', '6H', 'QD', 'KD', '9H', '6S', '6C']\n",
      "['QH', 'KC', '9D', '4D', '3S', 'JS', 'JH', '4H', '2C', '9H']\n",
      "['TC', '7H', 'KH', '4H', 'JC', '7D', '9S', '3H', 'QS', '7S']\n",
      "['AD', '7D', 'JH', '6C', '7H', '4H', '3S', '3H', '4D', 'QH']\n",
      "['JD', '2H', '5C', 'AS', '6C', 'QC', '4D', '3C', 'TC', 'JH']\n",
      "['AC', 'JD', '3H', '6H', '4C', 'JC', 'AD', '7D', '7H', '9H']\n",
      "['4H', 'TC', 'TS', '2C', '8C', '6S', 'KS', '2H', 'JD', '9S']\n",
      "['4C', '3H', 'QS', 'QC', '9S', '9H', '6D', 'KC', '9D', '9C']\n",
      "['5C', 'AD', '8C', '2C', 'QH', 'TH', 'QD', 'JC', '8D', '8H']\n",
      "['QC', '2C', '2S', 'QD', '9C', '4D', '3S', '8D', 'JH', 'QS']\n",
      "['9D', '3S', '2C', '7S', '7C', 'JC', 'TD', '3C', 'TC', '9H']\n",
      "['3C', 'TS', '8H', '5C', '4C', '2C', '6S', '8D', '7C', '4H']\n",
      "['KS', '7H', '2H', 'TC', '4H', '2C', '3S', 'AS', 'AH', 'QS']\n",
      "['8C', '2D', '2H', '2C', '4S', '4C', '6S', '7D', '5S', '3S']\n",
      "['TH', 'QC', '5D', 'TD', '3C', 'QS', 'KD', 'KC', 'KS', 'AS']\n",
      "['4D', 'AH', 'KD', '9H', 'KS', '5C', '4C', '6H', 'JC', '7S']\n",
      "['KC', '4H', '5C', 'QS', 'TC', '2H', 'JC', '9S', 'AH', 'QH']\n",
      "['4S', '9H', '3H', '5H', '3C', 'QD', '2H', 'QC', 'JH', '8H']\n",
      "['5D', 'AS', '7H', '2C', '3D', 'JH', '6H', '4C', '6S', '7D']\n",
      "['9C', 'JD', '9H', 'AH', 'JS', '8S', 'QH', '3H', 'KS', '8H']\n",
      "['3S', 'AC', 'QC', 'TS', '4D', 'AD', '3D', 'AH', '8S', '9H']\n",
      "['7H', '3H', 'QS', '9C', '9S', '5H', 'JH', 'JS', 'AH', 'AC']\n",
      "['8D', '3C', 'JD', '2H', 'AC', '9C', '7H', '5S', '4D', '8H']\n",
      "['7C', 'JH', '9H', '6C', 'JS', '9S', '7H', '8C', '9D', '4H']\n",
      "['2D', 'AS', '9S', '6H', '4D', 'JS', 'JH', '9H', 'AD', 'QD']\n",
      "['6H', '7S', 'JH', 'KH', 'AH', '7H', 'TD', '5S', '6S', '2C']\n",
      "['8H', 'JH', '6S', '5H', '5S', '9D', 'TC', '4C', 'QC', '9S']\n",
      "['7D', '2C', 'KD', '3H', '5H', 'AS', 'QD', '7H', 'JS', '4D']\n",
      "['TS', 'QH', '6C', '8H', 'TH', '5H', '3C', '3H', '9C', '9D']\n",
      "['AD', 'KH', 'JS', '5D', '3H', 'AS', 'AC', '9S', '5C', 'KC']\n",
      "['2C', 'KH', '8C', 'JC', 'QS', '6D', 'AH', '2D', 'KC', 'TC']\n",
      "['9D', '3H', '2S', '7C', '4D', '6D', 'KH', 'KS', '8D', '7D']\n",
      "['9H', '2S', 'TC', 'JH', 'AC', 'QC', '3H', '5S', '3S', '8H']\n",
      "['3S', 'AS', 'KD', '8H', '4C', '3H', '7C', 'JH', 'QH', 'TS']\n",
      "['7S', '6D', '7H', '9D', 'JH', '4C', '3D', '3S', '6C', 'AS']\n",
      "['4S', '2H', '2C', '4C', '8S', '5H', 'KC', '8C', 'QC', 'QD']\n",
      "['3H', '3S', '6C', 'QS', 'QC', '2D', '6S', '5D', '2C', '9D']\n",
      "['2H', '8D', 'JH', '2S', '3H', '2D', '6C', '5C', '7S', 'AD']\n",
      "['9H', 'JS', '5D', 'QH', '8S', 'TS', '2H', '7S', '6S', 'AD']\n",
      "['6D', 'QC', '9S', '7H', '5H', '5C', '7D', 'KC', 'JD', '4H']\n",
      "['QC', '5S', '9H', '9C', '4D', '6S', 'KS', '2S', '4C', '7C']\n",
      "['9H', '7C', '4H', '8D', '3S', '6H', '5C', '8H', 'JS', '7S']\n",
      "['2D', '6H', 'JS', 'TD', '4H', '4D', 'JC', 'TH', '5H', 'KC']\n",
      "['AC', '7C', '8D', 'TH', '3H', '9S', '2D', '4C', 'KC', '4D']\n",
      "['KD', 'QS', '9C', '7S', '3D', 'KS', 'AD', 'TS', '4C', '4H']\n",
      "['QH', '9C', '8H', '2S', '7D', 'KS', '7H', '5D', 'KD', '4C']\n",
      "['9C', '2S', '2H', 'JC', '6S', '6C', 'TC', 'QC', 'JH', '5C']\n",
      "['7S', 'AC', '8H', 'KC', '8S', '6H', 'QS', 'JC', '3D', '6S']\n",
      "['JS', '2D', 'JH', '8C', '4S', '6H', '8H', '6D', '5D', 'AD']\n",
      "['6H', '7D', '2S', '4H', '9H', '7C', 'AS', 'AC', '8H', '5S']\n",
      "['3C', 'JS', '4S', '6D', '5H', '2S', 'QH', '6S', '9C', '2C']\n",
      "['3D', '5S', '6S', '9S', '4C', 'QS', '8D', 'QD', '8S', 'TC']\n",
      "['9C', '3D', 'AH', '9H', '5S', '2C', '7D', 'AD', 'JC', '3S']\n",
      "['7H', 'TC', 'AS', '3C', '6S', '6D', '7S', 'KH', 'KC', '9H']\n",
      "['3S', 'TC', '8H', '6S', '5H', 'JH', '8C', '7D', 'AC', '2S']\n",
      "['QD', '9D', '9C', '3S', 'JC', '8C', 'KS', '8H', '5D', '4D']\n",
      "['JS', 'AH', 'JD', '6D', '9D', '8C', '9H', '9S', '8H', '3H']\n",
      "['2D', '6S', '4C', '4D', '8S', 'AD', '4S', 'TC', 'AH', '9H']\n",
      "['TS', 'AC', 'QC', 'TH', 'KC', '6D', '4H', '7S', '8C', '2H']\n",
      "['3C', 'QD', 'JS', '9D', '5S', 'JC', 'AH', '2H', 'TS', '9H']\n",
      "['3H', '4D', 'QH', '5D', '9C', '5H', '7D', '4S', 'JC', '3S']\n",
      "['8S', 'TH', '3H', '7C', '2H', 'JD', 'JS', 'TS', 'AC', '8D']\n",
      "['9C', '2H', 'TD', 'KC', 'JD', '2S', '8C', '5S', 'AD', '2C']\n",
      "['3D', 'KD', '7C', '5H', '4D', 'QH', 'QD', 'TC', '6H', '7D']\n",
      "['7H', '2C', 'KC', '5S', 'KD', '6H', 'AH', 'QC', '7S', 'QH']\n",
      "['6H', '5C', 'AC', '5H', '2C', '9C', '2D', '7C', 'TD', '2S']\n",
      "['4D', '9D', 'AH', '3D', '7C', 'JD', '4H', '8C', '4C', 'KS']\n",
      "['TH', '3C', 'JS', 'QH', '8H', '4C', 'AS', '3D', 'QS', 'QC']\n",
      "['4D', '7S', '5H', 'JH', '6D', '7D', '6H', 'JS', 'KH', '3C']\n",
      "['QD', '8S', '7D', '2H', '2C', '7C', 'JC', '2S', '5H', '8C']\n",
      "['QH', '8S', '9D', 'TC', '2H', 'AD', '7C', '8D', 'QD', '6S']\n",
      "['3S', '7C', 'AD', '9H', '2H', '9S', 'JD', 'TS', '4C', '2D']\n",
      "['3S', 'AS', '4H', 'QC', '2C', '8H', '8S', '7S', 'TD', 'TC']\n",
      "['JH', 'TH', 'TD', '3S', '4D', '4H', '5S', '5D', 'QS', '2C']\n",
      "['8C', 'QD', 'QH', 'TC', '6D', '4S', '9S', '9D', '4H', 'QC']\n",
      "['8C', 'JS', '9D', '6H', 'JD', '3H', 'AD', '6S', 'TD', 'QC']\n",
      "['KC', '8S', '3D', '7C', 'TD', '7D', '8D', '9H', '4S', '3S']\n",
      "['6C', '4S', '3D', '9D', 'KD', 'TC', 'KC', 'KS', 'AC', '5S']\n",
      "['7C', '6S', 'QH', '3D', 'JS', 'KD', '6H', '6D', '2D', '8C']\n",
      "['JD', '2S', '5S', '4H', '8S', 'AC', '2D', '6S', 'TS', '5C']\n",
      "['5H', '8C', '5S', '3C', '4S', '3D', '7C', '8D', 'AS', '3H']\n",
      "['AS', 'TS', '7C', '3H', 'AD', '7D', 'JC', 'QS', '6C', '6H']\n",
      "['3S', '9S', '4C', 'AC', 'QH', '5H', '5D', '9H', 'TS', '4H']\n",
      "['6C', '5C', '7H', '7S', 'TD', 'AD', 'JD', '5S', '2H', '2S']\n",
      "['7D', '6C', 'KC', '3S', 'JD', '8D', '8S', 'TS', 'QS', 'KH']\n",
      "['8S', 'QS', '8D', '6C', 'TH', 'AC', 'AH', '2C', '8H', '9S']\n",
      "['7H', 'TD', 'KH', 'QH', '8S', '3D', '4D', 'AH', 'JD', 'AS']\n",
      "['TS', '3D', '2H', 'JC', '2S', 'JH', 'KH', '6C', 'QC', 'JS']\n",
      "['KC', 'TH', '2D', '6H', '7S', '2S', 'TC', '8C', '9D', 'QS']\n",
      "['3C', '9D', '6S', 'KH', '8H', '6D', '5D', 'TH', '2C', '2H']\n",
      "['6H', 'TC', '7D', 'AD', '4D', '8S', 'TS', '9H', 'TD', '7S']\n",
      "['JS', '6D', 'JD', 'JC', '2H', 'AC', '6C', '3D', 'KH', '8D']\n",
      "['KH', 'JD', '9S', '5D', '4H', '4C', '3H', '7S', 'QS', '5C']\n",
      "['4H', 'JD', '5D', '3S', '3C', '4D', 'KH', 'QH', 'QS', '7S']\n",
      "['JD', 'TS', '8S', 'QD', 'AH', '4C', '6H', '3S', '5S', '2C']\n",
      "['QS', '3D', 'JD', 'AS', '8D', 'TH', '7C', '6S', 'QC', 'KS']\n",
      "['7S', '2H', '8C', 'QC', '7H', 'AC', '6D', '2D', 'TH', 'KH']\n",
      "['5S', '6C', '7H', 'KH', '7D', 'AH', '8C', '5C', '7S', '3D']\n",
      "['3C', 'KD', 'AD', '7D', '6C', '4D', 'KS', '2D', '8C', '4S']\n",
      "['7C', '8D', '5S', '2D', '2S', 'AH', 'AD', '2C', '9D', 'TD']\n",
      "['3C', 'AD', '4S', 'KS', 'JH', '7C', '5C', '8C', '9C', 'TH']\n",
      "['AS', 'TD', '4D', '7C', 'JD', '8C', 'QH', '3C', '5H', '9S']\n",
      "['3H', '9C', '8S', '9S', '6S', 'QD', 'KS', 'AH', '5H', 'JH']\n",
      "['QC', '9C', '5S', '4H', '2H', 'TD', '7D', 'AS', '8C', '9D']\n",
      "['8C', '2C', '9D', 'KD', 'TC', '7S', '3D', 'KH', 'QC', '3C']\n",
      "['4D', 'AS', '4C', 'QS', '5S', '9D', '6S', 'JD', 'QH', 'KS']\n",
      "['6D', 'AH', '6C', '4C', '5H', 'TS', '9H', '7D', '3D', '5S']\n",
      "['QS', 'JD', '7C', '8D', '9C', 'AC', '3S', '6S', '6C', 'KH']\n",
      "['8H', 'JH', '5D', '9S', '6D', 'AS', '6S', '3S', 'QC', '7H']\n",
      "['QD', 'AD', '5C', 'JH', '2H', 'AH', '4H', 'AS', 'KC', '2C']\n",
      "['JH', '9C', '2C', '6H', '2D', 'JS', '5D', '9H', 'KC', '6D']\n",
      "['7D', '9D', 'KD', 'TH', '3H', 'AS', '6S', 'QC', '6H', 'AD']\n",
      "['JD', '4H', '7D', 'KC', '3H', 'JS', '3C', 'TH', '3D', 'QS']\n",
      "['4C', '3H', '8C', 'QD', '5H', '6H', 'AS', '8H', 'AD', 'JD']\n",
      "['TH', '8S', 'KD', '5D', 'QC', '7D', 'JS', '5S', '5H', 'TS']\n",
      "['7D', 'KC', '9D', 'QS', '3H', '3C', '6D', 'TS', '7S', 'AH']\n",
      "['7C', '4H', '7H', 'AH', 'QC', 'AC', '4D', '5D', '6D', 'TH']\n",
      "['3C', '4H', '2S', 'KD', '8H', '5H', 'JH', 'TC', '6C', 'JD']\n",
      "['4S', '8C', '3D', '4H', 'JS', 'TD', '7S', 'JH', 'QS', 'KD']\n",
      "['7C', 'QC', 'KD', '4D', '7H', '6S', 'AD', 'TD', 'TC', 'KH']\n",
      "['5H', '9H', 'KC', '3H', '4D', '3D', 'AD', '6S', 'QD', '6H']\n",
      "['TH', '7C', '6H', 'TS', 'QH', '5S', '2C', 'KC', 'TD', '6S']\n",
      "['7C', '4D', '5S', 'JD', 'JH', '7D', 'AC', 'KD', 'KH', '4H']\n",
      "['7D', '6C', '8D', '8H', '5C', 'JH', '8S', 'QD', 'TH', 'JD']\n",
      "['8D', '7D', '6C', '7C', '9D', 'KD', 'AS', '5C', 'QH', 'JH']\n",
      "['9S', '2C', '8C', '3C', '4C', 'KS', 'JH', '2D', '8D', '4H']\n",
      "['7S', '6C', 'JH', 'KH', '8H', '3H', '9D', '2D', 'AH', '6D']\n",
      "['4D', 'TC', '9C', '8D', '7H', 'TD', 'KS', 'TH', 'KD', '3C']\n",
      "['JD', '9H', '8D', 'QD', 'AS', 'KD', '9D', '2C', '2S', '9C']\n",
      "['8D', '3H', '5C', '7H', 'KS', '5H', 'QH', '2D', '8C', '9H']\n",
      "['2D', 'TH', '6D', 'QD', '6C', 'KC', '3H', '3S', 'AD', '4C']\n",
      "['4H', '3H', 'JS', '9D', '3C', 'TC', '5H', 'QH', 'QC', 'JC']\n",
      "['3D', '5C', '6H', '3S', '3C', 'JC', '5S', '7S', '2S', 'QH']\n",
      "['AC', '5C', '8C', '4D', '5D', '4H', '2S', 'QD', '3C', '3H']\n",
      "['2C', 'TD', 'AH', '9C', 'KD', 'JS', '6S', 'QD', '4C', 'QC']\n",
      "['QS', '8C', '3S', '4H', 'TC', 'JS', '3H', '7C', 'JC', 'AD']\n",
      "['5H', '4D', '9C', 'KS', 'JC', 'TD', '9S', 'TS', '8S', '9H']\n",
      "['QD', 'TS', '7D', 'AS', 'AC', '2C', 'TD', '6H', '8H', 'AH']\n",
      "['6S', 'AD', '8C', '4S', '9H', '8D', '9D', 'KH', '8S', '3C']\n",
      "['QS', '4D', '2D', '7S', 'KH', 'JS', 'JC', 'AD', '4C', '3C']\n",
      "['QS', '9S', '7H', 'KC', 'TD', 'TH', '5H', 'JS', 'AC', 'JH']\n",
      "['6D', 'AC', '2S', 'QS', '7C', 'AS', 'KS', '6S', 'KH', '5S']\n",
      "['6D', '8H', 'KH', '3C', 'QS', '2H', '5C', '9C', '9D', '6C']\n",
      "['JS', '2C', '4C', '6H', '7D', 'JC', 'AC', 'QD', 'TD', '3H']\n",
      "['4H', 'QC', '8H', 'JD', '4C', 'KD', 'KS', '5C', 'KC', '7S']\n",
      "['6D', '2D', '3H', '2S', 'QD', '5S', '7H', 'AS', 'TH', '6S']\n",
      "['AS', '6D', '8D', '2C', '8S', 'TD', '8H', 'QD', 'JC', 'AH']\n",
      "['9C', '9H', '2D', 'TD', 'QH', '2H', '5C', 'TC', '3D', '8H']\n",
      "['KC', '8S', '3D', 'KH', '2S', 'TS', 'TC', '6S', '4D', 'JH']\n",
      "['9H', '9D', 'QS', 'AC', 'KC', '6H', '5D', '4D', '8D', 'AH']\n",
      "['9S', '5C', 'QS', '4H', '7C', '7D', '2H', '8S', 'AD', 'JS']\n",
      "['3D', 'AC', '9S', 'AS', '2C', '2D', '2H', '3H', 'JC', 'KH']\n",
      "['7H', 'QH', 'KH', 'JD', 'TC', 'KS', '5S', '8H', '4C', '8D']\n",
      "['2H', '7H', '3S', '2S', '5H', 'QS', '3C', 'AS', '9H', 'KD']\n",
      "['AD', '3D', 'JD', '6H', '5S', '9C', '6D', 'AC', '9S', '3S']\n",
      "['3D', '5D', '9C', '2D', 'AC', '4S', '2S', 'AD', '6C', '6S']\n",
      "['QC', '4C', '2D', '3H', '6S', 'KC', 'QH', 'QD', '2H', 'JH']\n",
      "['QC', '3C', '8S', '4D', '9S', '2H', '5C', '8H', 'QS', 'QD']\n",
      "['6D', 'KD', '6S', '7H', '3S', 'KH', '2H', '5C', 'JC', '6C']\n",
      "['3S', '9S', 'TC', '6S', '8H', '2D', 'AD', '7S', '8S', 'TS']\n",
      "['3C', '6H', '9C', '3H', '5C', 'JC', '8H', 'QH', 'TD', 'QD']\n",
      "['3C', 'JS', 'QD', '5D', 'TD', '2C', 'KH', '9H', 'TH', 'AS']\n",
      "['9S', 'TC', 'JD', '3D', '5C', '5H', 'AD', 'QH', '9H', 'KC']\n",
      "['TC', '7H', '4H', '8H', '3H', 'TD', '6S', 'AC', '7C', '2S']\n",
      "['QS', '9D', '5D', '3C', 'JC', 'KS', '4D', '6C', 'JH', '2S']\n",
      "['9S', '6S', '3C', '7H', 'TS', '4C', 'KD', '6D', '3D', '9C']\n",
      "['2D', '9H', 'AH', 'AC', '7H', '2S', 'JH', '3S', '7C', 'QC']\n",
      "['QD', '9H', '3C', '2H', 'AC', 'AS', '8S', 'KD', '8C', 'KH']\n",
      "['2D', '7S', 'TD', 'TH', '6D', 'JD', '8D', '4D', '2H', '5S']\n",
      "['8S', 'QH', 'KD', 'JD', 'QS', 'JH', '4D', 'KC', '5H', '3S']\n",
      "['3C', 'KH', 'QC', '6D', '8H', '3S', 'AH', '7D', 'TD', '2D']\n",
      "['5S', '9H', 'QH', '4S', '6S', '6C', '6D', 'TS', 'TH', '7S']\n",
      "['6C', '4C', '6D', 'QS', 'JS', '9C', 'TS', '3H', '8D', '8S']\n",
      "['JS', '5C', '7S', 'AS', '2C', 'AH', '2H', 'AD', '5S', 'TC']\n",
      "['KD', '6C', '9C', '9D', 'TS', '2S', 'JC', '4H', '2C', 'QD']\n",
      "['QS', '9H', 'TC', '3H', 'KC', 'KS', '4H', '3C', 'AD', 'TH']\n",
      "['KH', '9C', '2H', 'KD', '9D', 'TC', '7S', 'KC', 'JH', '2D']\n",
      "['7C', '3S', 'KC', 'AS', '8C', '5D', '9C', '9S', 'QH', '3H']\n",
      "['2D', '8C', 'TD', '4C', '2H', 'QC', '5D', 'TC', '2C', '7D']\n",
      "['KS', '4D', '6C', 'QH', 'TD', 'KH', '5D', '7C', 'AD', '8D']\n",
      "['2S', '9S', '8S', '4C', '8C', '3D', '6H', 'QD', '7C', '7H']\n",
      "['6C', '8S', 'QH', '5H', 'TS', '5C', '3C', '4S', '2S', '2H']\n",
      "['8S', '6S', '2H', 'JC', '3S', '3H', '9D', '8C', '2S', '7H']\n",
      "['QC', '2C', '8H', '9C', 'AC', 'JD', '4C', '4H', '6S', '3S']\n",
      "['3H', '3S', '7D', '4C', '9S', '5H', '8H', 'JC', '3D', 'TC']\n",
      "['QH', '2S', '2D', '9S', 'KD', 'QD', '9H', 'AD', '6D', '9C']\n",
      "['8D', '2D', 'KS', '9S', 'JC', '4C', 'JD', 'KC', '4S', 'TH']\n",
      "['KH', 'TS', '6D', '4D', '5C', 'KD', '5H', 'AS', '9H', 'AD']\n",
      "['QD', 'JS', '7C', '6D', '5D', '5C', 'TH', '5H', 'QH', 'QS']\n",
      "['9D', 'QH', 'KH', '5H', 'JH', '4C', '4D', 'TC', 'TH', '6C']\n",
      "['KH', 'AS', 'TS', '9D', 'KD', '9C', '7S', '4D', '8H', '5S']\n",
      "['KH', 'AS', '2S', '7D', '9D', '4C', 'TS', 'TH', 'AH', '7C']\n",
      "['KS', '4D', 'AC', '8S', '9S', '8D', 'TH', 'QH', '9D', '5C']\n",
      "['5D', '5C', '8C', 'QS', 'TC', '4C', '3D', '3S', '2C', '8D']\n",
      "['9D', 'KS', '2D', '3C', 'KC', '4S', '8C', 'KH', '6C', 'JC']\n",
      "['8H', 'AH', '6H', '7D', '7S', 'QD', '3C', '4C', '6C', 'KC']\n",
      "['3H', '2C', 'QH', '8H', 'AS', '7D', '4C', '8C', '4H', 'KC']\n",
      "['QD', '5S', '4H', '2C', 'TD', 'AH', 'JH', 'QH', '4C', '8S']\n",
      "['3H', 'QS', '5S', 'JS', '8H', '2S', '9H', '9C', '3S', '2C']\n",
      "['6H', 'TS', '7S', 'JC', 'QD', 'AC', 'TD', 'KC', '5S', '3H']\n",
      "['QH', 'AS', 'QS', '7D', 'JC', 'KC', '2C', '4C', '5C', '5S']\n",
      "['QH', '3D', 'AS', 'JS', '4H', '8D', '7H', 'JC', '2S', '9C']\n",
      "['5D', '4D', '2S', '4S', '9D', '9C', '2D', 'QS', '8H', '7H']\n",
      "['6D', '7H', '3H', 'JS', 'TS', 'AC', '2D', 'JH', '7C', '8S']\n",
      "['JH', '5H', 'KC', '3C', 'TC', '5S', '9H', '4C', '8H', '9D']\n",
      "['8S', 'KC', '5H', '9H', 'AD', 'KS', '9D', 'KH', '8D', 'AH']\n",
      "['JC', '2H', '9H', 'KS', '6S', '3H', 'QC', '5H', 'AH', '9C']\n",
      "['5C', 'KH', '5S', 'AD', '6C', 'JC', '9H', 'QC', '9C', 'TD']\n",
      "['5S', '5D', 'JC', 'QH', '2D', 'KS', '8H', 'QS', '2H', 'TS']\n",
      "['JH', '5H', '5S', 'AH', '7H', '3C', '8S', 'AS', 'TD', 'KH']\n",
      "['6H', '3D', 'JD', '2C', '4C', 'KC', '7S', 'AH', '6C', 'JH']\n",
      "['4C', 'KS', '9D', 'AD', '7S', 'KC', '7D', '8H', '3S', '9C']\n",
      "['7H', '5C', '5H', '3C', '8H', 'QC', '3D', 'KH', '6D', 'JC']\n",
      "['2D', '4H', '5D', '7D', 'QC', 'AD', 'AH', '9H', 'QH', '8H']\n",
      "['KD', '8C', 'JS', '9D', '3S', '3C', '2H', '5D', '6D', '2S']\n",
      "['8S', '6S', 'TS', '3C', '6H', '8D', '5S', '3H', 'TD', '6C']\n",
      "['KS', '3D', 'JH', '9C', '7C', '9S', 'QS', '5S', '4H', '6H']\n",
      "['7S', '6S', 'TH', '4S', 'KC', 'KD', '3S', 'JC', 'JH', 'KS']\n",
      "['7C', '3C', '2S', '6D', 'QH', '2C', '7S', '5H', '8H', 'AH']\n",
      "['KC', '8D', 'QD', '6D', 'KH', '5C', '7H', '9D', '3D', '9C']\n",
      "['6H', '2D', '8S', 'JS', '9S', '2S', '6D', 'KC', '7C', 'TC']\n",
      "['KD', '9C', 'JH', '7H', 'KC', '8S', '2S', '7S', '3D', '6H']\n",
      "['4H', '9H', '2D', '4C', '8H', '7H', '5S', '8S', '2H', '8D']\n",
      "['AD', '7C', '3C', '7S', '5S', '4D', '9H', '3D', 'JC', 'KH']\n",
      "['5D', 'AS', '7D', '6D', '9C', 'JC', '4C', 'QH', 'QS', 'KH']\n",
      "['KD', 'JD', '7D', '3D', 'QS', 'QC', '8S', '6D', 'JS', 'QD']\n",
      "['6S', '8C', '5S', 'QH', 'TH', '9H', 'AS', 'AC', '2C', 'JD']\n",
      "['QC', 'KS', 'QH', '7S', '3C', '4C', '5C', 'KC', '5D', 'AH']\n",
      "['6C', '4H', '9D', 'AH', '2C', '3H', 'KD', '3D', 'TS', '5C']\n",
      "['TD', '8S', 'QS', 'AS', 'JS', '3H', 'KD', 'AC', '4H', 'KS']\n",
      "['7D', '5D', 'TS', '9H', '4H', '4C', '9C', '2H', '8C', 'QC']\n",
      "['2C', '7D', '9H', '4D', 'KS', '4C', 'QH', 'AD', 'KD', 'JS']\n",
      "['QD', 'AD', 'AH', 'KH', '9D', 'JS', '9H', 'JC', 'KD', 'JD']\n",
      "['8S', '3C', '4S', 'TS', '7S', '4D', '5C', '2S', '6H', '7C']\n",
      "['JS', '7S', '5C', 'KD', '6D', 'QH', '8S', 'TD', '2H', '6S']\n",
      "['QH', '6C', 'TC', '6H', 'TD', '4C', '9D', '2H', 'QC', '8H']\n",
      "['3D', 'TS', '4D', '2H', '6H', '6S', '2C', '7H', '8S', '6C']\n",
      "['9H', '9D', 'JD', 'JH', '3S', 'AH', '2C', '6S', '3H', '8S']\n",
      "['2C', 'QS', '8C', '5S', '3H', '2S', '7D', '3C', 'AD', '4S']\n",
      "['5C', 'QC', 'QH', 'AS', 'TS', '4S', '6S', '4C', '5H', 'JS']\n",
      "['JH', '5C', 'TD', '4C', '6H', 'JS', 'KD', 'KH', 'QS', '4H']\n",
      "['TC', 'KH', 'JC', '4D', '9H', '9D', '8D', 'KC', '3C', '8H']\n",
      "['2H', 'TC', '8S', 'AD', '9S', '4H', 'TS', '7H', '2C', '5C']\n",
      "['4H', '2S', '6C', '5S', 'KS', 'AH', '9C', '7C', '8H', 'KD']\n",
      "['TS', 'QH', 'TD', 'QS', '3C', 'JH', 'AH', '2C', '8D', '7D']\n",
      "['5D', 'KC', '3H', '5S', 'AC', '4S', '7H', 'QS', '4C', '2H']\n",
      "['3D', '7D', 'QC', 'KH', 'JH', '6D', '6C', 'TD', 'TH', 'KD']\n",
      "['5S', '8D', 'TH', '6C', '9D', '7D', 'KH', '8C', '9S', '6D']\n",
      "['JD', 'QS', '7S', 'QC', '2S', 'QH', 'JC', '4S', 'KS', '8D']\n",
      "['7S', '5S', '9S', 'JD', 'KD', '9C', 'JC', 'AD', '2D', '7C']\n",
      "['4S', '5H', 'AH', 'JH', '9C', '5D', 'TD', '7C', '2D', '6S']\n",
      "['KC', '6C', '7H', '6S', '9C', 'QD', '5S', '4H', 'KS', 'TD']\n",
      "['6S', '8D', 'KS', '2D', 'TH', 'TD', '9H', 'JD', 'TS', '3S']\n",
      "['KH', 'JS', '4H', '5D', '9D', 'TC', 'TD', 'QC', 'JD', 'TS']\n",
      "['QS', 'QD', 'AC', 'AD', '4C', '6S', '2D', 'AS', '3H', 'KC']\n",
      "['4C', '7C', '3C', 'TD', 'QS', '9C', 'KC', 'AS', '8D', 'AD']\n",
      "['KC', '7H', 'QC', '6D', '8H', '6S', '5S', 'AH', '7S', '8C']\n",
      "['3S', 'AD', '9H', 'JC', '6D', 'JD', 'AS', 'KH', '6S', 'JH']\n",
      "['AD', '3D', 'TS', 'KS', '7H', 'JH', '2D', 'JS', 'QD', 'AC']\n",
      "['9C', 'JD', '7C', '6D', 'TC', '6H', '6C', 'JC', '3D', '3S']\n",
      "['QC', 'KC', '3S', 'JC', 'KD', '2C', '8D', 'AH', 'QS', 'TS']\n",
      "['AS', 'KD', '3D', 'JD', '8H', '7C', '8C', '5C', 'QD', '6C']\n"
     ]
    }
   ],
   "source": [
    "with open('p054_poker.txt') as f:\n",
    "    for i in f:\n",
    "        tmp = i.replace('\\n','')\n",
    "        tmps = tmp.split(' ')\n",
    "        print(tmps)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 85,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "pok = ['AH', '8S', 'QS', '4D', 'TH']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 137,
   "metadata": {},
   "outputs": [],
   "source": [
    "from collections import Counter\n",
    "\n",
    "dic_pok = {'2':1,'3':2,'4':3,'5':4,'6':5,'7':6,'8':7,'9':8,'T':9,'J':10,'Q':11,'K':12,'A':13}\n",
    "all_pok_values = '23456789TJQKA'\n",
    "\n",
    "def pokerCompare(x):\n",
    "    '''比较两种手牌的大小'''\n",
    "    player1 = x[:5]\n",
    "    player2 = x[5:]\n",
    "    player1.sort(key=lambda x: (dic_pok[x[0]],x[1]))\n",
    "    player2.sort(key=lambda x: (dic_pok[x[0]],x[1]))\n",
    "    \n",
    "    player1_poker_value = [i[0] for i in player1]\n",
    "    player2_poker_value = [i[0] for i in player2]\n",
    "    player1_poker_suit = [i[1] for i in player1]\n",
    "    player2_poker_suit = [i[1] for i in player2]\n",
    "    \n",
    "    play1_type = 1\n",
    "    play2_type = 1\n",
    "    #判断是否是同种花色\n",
    "    if len(Counter(player1_poker_suit))>1:#不是同一花色\n",
    "        dict_play1_value = Counter(player1_poker_value)\n",
    "        #判断是否有相同的值出现\n",
    "        len_play_value = len(dict_play1_value)\n",
    "        if len(dict_play1_value)!=5:\n",
    "            #有相同的值出现\n",
    "            max_value_count = max(dict_play1_value.items(),key=lambda x:x[1])\n",
    "            if len_play_value==4:\n",
    "                play1_type = 2\n",
    "            elif len_play_value==3:\n",
    "                #可能是2+2+1,也可能是3+1+1\n",
    "                if max_value_count[1]==3:\n",
    "                    play1_type = 4\n",
    "                else:\n",
    "                    play1_type = 3\n",
    "            else:\n",
    "                #可能是4+1，也可能是3+2                \n",
    "                if max_value_count[1]==4:\n",
    "                    play1_type = 8\n",
    "                else:\n",
    "                    play1_type = 7\n",
    "        else:\n",
    "            #没有相同值出现\n",
    "            str_tem = \"\".join(player1_poker_value)\n",
    "            if str_tem in all_pok_values:\n",
    "                play1_type = 5 \n",
    "    else:\n",
    "        #花色相同，有可能只是花色相同，也有可能是同花顺\n",
    "        #花色相同，不可能有相同的牌面\n",
    "        str_tem = \"\".join(player1_poker_value)\n",
    "        if str_tem in all_pok_values:\n",
    "            if str_tem==all_pok_values[-5:]:\n",
    "                play1_type = 10\n",
    "            else:\n",
    "                play1_type = 9\n",
    "        else:\n",
    "            play1_type = 6\n",
    "    return play1_type"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 139,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "10"
      ]
     },
     "execution_count": 139,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pokerCompare(['KD', 'AD', 'QD', 'JD', 'TD', 'QS', '7D', '3S', '9C', '8S'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 92,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['2C', '5C', '6H', '9D', '9H']"
      ]
     },
     "execution_count": 92,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dic_pok = {'2':1,'3':2,'4':3,'5':4,'6':5,'7':6,'8':7,'9':8,'T':9,'J':10,'Q':11,'K':12,'A':13}\n",
    "sorted(pok,key=lambda x: (dic_pok[x[0]],x[1]))\n",
    "a = ['2C', '9H', '6H', '5C', '9D']\n",
    "sorted(a,key=lambda x: (dic_pok[x[0]],x[1]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 106,
   "metadata": {},
   "outputs": [],
   "source": [
    "a = ['D', 'H', 'D', 'D', 'H']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 121,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "True"
      ]
     },
     "execution_count": 121,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "\"\".join(a)=='DHDDH'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 98,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Counter({'1': 3, '2': 3, '3': 2})"
      ]
     },
     "execution_count": 98,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from collections import Counter\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 117,
   "metadata": {},
   "outputs": [],
   "source": [
    "c = dict(Counter(['D', 'H', 'D', 'D', 'H']))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 119,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "('D', 3)"
      ]
     },
     "execution_count": 119,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "max(c.items(),key=lambda x:x[1])"
   ]
  }
 ],
 "metadata": {
  "anaconda-cloud": {},
  "kernelspec": {
   "display_name": "Python [default]",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
